Note: This tip is for use with SecureFX for Windows.
The SFXCL command-line utility that is included in SecureFX for Windows allows you to perform tasks from the command line. The utility recognizes general command-line instructions,
as well as the additional QuickSync option that requires a specific syntax.
If you are using SecureFX 4.x for Windows and later, you can use the /Move flag in
the SFXCL command-line utility to transfer and delete files in one step.
The /Move option will transfer the specified files and then delete the
successfully moved files from the source directory. You can also specify
passwords on the command line.
Here is an example using of using the /Move option to transfer all .txt files
from a remote server to a local server:
To move a file from one folder to another on the remote server, and to save the bandwidth related to downloading
the file locally and then uploading the file, you can use the /Rename command. /Rename issues a rename command
on the remote, similar to the UNIX 'mv' command.
In this example, the command will move the file from the "c:"
root to the "temp:" root defined in VShell or other Secure Shell