Download-Folder
Command Description
Download specified folder from the remote directory of the FTP server to the local and overwrite it directly if there is a same name local file
Command Prototype
folderPath = FTP.DownloadFolder(objFTP,sRemotedir,sLocalpath)
Parameter Description
Parameter | Required | Type | Default | Description |
---|---|---|---|---|
objFTP | True | expression | objFTP | Refers to the FTP connection object returned by the "connect to FTP server" command |
sRemotedir | True | string | "" | Specified folder path in FTP remote directory |
sLocalpath | True | path | '''C:\Users''' | Save to local folder. The folder with the same name will be overwritten directly |
return
folderPath,The variable used to save the output of the command.
Demo