Download folder
Command Description
Download the specified folder from the remote folder of the file transfer service to the local folder. If there is a folder with the same name locally, overwrite it directly
Command Prototype
CommanderFileService.DownloadFolder(sRemotedir,sLocalpath)
Command parameter
parameter | mandatory | type | default value | Instructions |
---|---|---|---|---|
sRemotedir | True | string | "" | The folder path specified in the file transfer service |
sLocalpath | True | path | ''' C:\Users''' | Save to the local folder path. If there is a folder with the same name, overwrite it directly |
Return result
Run instance
/*********************************Download Folder***************************************
Command Prototype:
CommanderFileService.DownloadFolder(sRemotedir,sLocalpath)
Input Parameters:
sRemotedir -- Remote folder. Note: The specified folder path in the file transfer service.
sLocalpath -- Download path. Note: The local folder path where the folder will be saved. If a folder with the same name exists, it will be directly overwritten.
Output Parameters:
None
Notes:
None
********************************************************************************/
CommanderFileService.DownloadFolder("",'''C:\Users''')