<< back to sysax.com Product page

1.7. List of FTP commands for the Microsoft command-line FTP client

Command-line options

As you are strating the program from a Dos Prompt:

Exhibit 1.2. Start a program from Dos prompt

       
 ftp [-v] [-d] [-i] [-n][-g] [-s:filename] [-a] [-w:windowsize][computer]

  • -v : Suppresses verbose display of remote server responses.
  • -n : Suppresses auto-login upon initial connection.
  • -i : Turns off interactive prompt during multiple file transfers.
  • -d : Enables debug, diaplaying all ftp commands passed between the client and server.
  • -g : Disables filename glob which permits the use of wildcard characters in local file and path names.
  • -s:filename : Specifies a text file containing ftp commands; the coimmands will automatically run after ftp starts. No spaces are allowed in this parameter. Use this switch instead of redirection(>).
  • -a : Use any local interface when binding data connection.
  • -w:windowsize : Overrides the default transfer buffer size of 4096.
  • computer : Specifies the computer name or IP address of the remote computer to connect to. The computer, if specified, must be the last parameter on the line.