Skip to main content

Upload-Folder

Command Description

Upload local folder (including all subfolders and contents) to FTP server

Command Prototype

uploadFolderStatus = FTP.UploadFolder(objFTP,sRemotedir,sLocalpath)

Parameter Description

ParameterRequiredTypeDefaultDescription
objFTPTrueexpressionobjFTPRefers to the FTP connection object returned by the "connect to FTP server" command
sRemotedirTruestring""Existing remote directory in FTP server
sLocalpathTruepath'''C:\Users'''The path of the specified local folder to be uploaded

return

uploadFolderStatus,The variable used to save the output of the command.

Demo