Summary of Arguments

Here is a list of all arguments you can use in the command line.

Arguments (alphabetical)

When to use

Important restrictions

-ascii

Use -ascii when transferring text files.

 

-binary

Use -binary when transferring non-text files such as executable programs, word processing documents, and so on.

 

-c account

Use -c to work with sites that require an account for the user to log in, or to access partitions. account is the name of your account on the remote site.

If provided, overrides the account in the site configuration.

-compress

Use -compress to turn files into a .zip compressed file.

The -compress option overrides post transfer actions. Post transfer actions will not be run if the compress option is also specified.

 

-d path_and_filename

Use -d to indicate the destination path and desired file name of the file you want to upload or download.

You must specify one of the following:

-d local:

-d folder!profile

-d ip address:

-d ftp://address

-%date

Use -%date to add a date and time stamp as part of the file name.

 

-delete

Use -delete when you want to delete the source files, after the transfer has been completed.

If the transfer is a download, you can delete files on the remote server only if the server allows it.

-lower

Use -lower to have WS_FTP convert file names to lower case letters when you transfer from your PC to a remote site.

If you use the
-lower argument, it must be at the very end of the command.

-m text_file

Use -m to do transfers that involve multisource locations, multiple destinations, or multiple commands. text_file is the name of the file that contains the commands.

 

-move directory path

Use -move when you want to move the source files to another directory, after the transfer has completed.

If the transfer is a download, you can move files on the remote server only if the server allows it.

-quiet

Use -quiet to suppress pop-up dialogs. The primary use is to suppress a logon request for silent installs. Error messages are logged to the log file. They are never sent to the screen.

 

-rename [Rename Mask]

Use -rename when you want to rename the source files, after the transfer has completed.
See Rename mask macros for more information.

If the transfer is a download, you can rename files on the remote server only if the server allows it.

-s path_and_filename

Use -s to indicate the source path and file name of the file you want to upload or download.

 

-u userID

Specifies a user ID. Use -u to use sign on using the userID.

If provided, overrides the user ID in the site config

-w password

Use -w to identify password as the passto use to connect to the ftp site.

If provided, overrides the password in the site configuration.