AddToQueue command line tool
The AddToQueue.exe command line tool can be used to add operations (copy, move, delete) from the command line to the transfer queue.
The AddToQueue.exe tool can be found in the %ProgramFiles%\SmartFTP Client folder.
AddToQueue.exe copy|move|delete file|folder|unknown source [destination] [--wait[=seconds]] [--overwrite] [--service]
Note: If the path contains any white spaces, quote the string with double quotes (").
Each favorite you have configured in SmartFTP has a unique identifier assigned. This identifier is used to reference the favorite in the command line tool.
KB: FavoriteId
You can start with using the FavoriteId from the pre-defined "SmartFTP FTPS" favorite:
{8DB6D858-4F03-4412-BE47-23575544231E}
To copy a file from the server to c:\temp\test.txt, use:
AddToQueue.exe copy file "{8DB6D858-4F03-4412-BE47-23575544231E}/This is a DEMO server.txt" "C:\temp\test.txt"
By default, the tool returns immediately after the operation has been queued to the transfer queue. To wait for the successful completion of the operation, add the --wait option to the command line.
Example:
AddToQueue.exe copy file "{8DB6D858-4F03-4412-BE47-23575544231E}/This is a DEMO server.txt" "C:\test.txt" --wait
關鍵字
queue,AddToQueue