Command Line Parameters

You can specify the following parameters when you type the cdftp command to start Connect:Direct® FTP+. In some cases, Connect:Direct FTP+ accepts a parameter, but ignores it during processing, to maintain compatibility with existing clients.

Command Line Parameters

 

Description

cdftp

 

Starts Connect:Direct FTP+, but does not connect to the server.

open

 

Connects to the Connect:Direct FTP+ server specified in the configuration file.

-a

 

Use any local interface when binding data connection. The command is ignored.

-A

 

Log on anonymously. accepts this parameter but ignores it during processing.

-c:config

 

Specifies the configuration to use instead of the default configuration.

-C

 

Starts the configuration interface.

-C:configbuild

 

Creates configuration files from the configuration template and the text file specified in configbuild.

See the configuration interface help for information about this command.

-cpa:nnnnn

 

Overrides the number of attempts to recover a failed transfer (default=5).

-cpi:nnnnn

 

Overrides the checkpoint interval (default=1024000).

-cpw:nnnnn

 

Overrides the number of seconds to wait between retry attempts (default=5).

-d n or -d:n

 

Enables debugging, where n sets the logging level for this session only. There are 4 logging levels:

  • 0–no logging
  • 1–log commands only
  • 2–log commands and replies
  • 3–log commands, replies, and method entries
  • 4–log commands, replies, method entries and full communication traces

The higher the logging level, the more data is tracked, and file transfer takes longer. For optimal performance, the logging level should be set to 0.

-e

 

Terminates Connect:Direct FTP+ on certain errors. Specifies to exit on errors after retries have been exhausted. Enables determining success or failure easily when Connect:Direct FTP+ is used in simple .bat or .sh scripts. Failure is indicated by non-zero return code or error level.

-g

 

Disables the use of asterisks (*) and question marks (?) as wildcard characters in file names or path names.

-G

 

Starts the graphical interface and connects to the server specified in the configuration file.

-h

 

Displays a list of parameters and descriptions for the cdftp command.

-i

 

Turns off interactive prompting during multiple file transfers. The parameter is ignored during processing.

-l:locale

 

Specifies the language and country to be used instead of the default. The locale is specified as language_country. For example, en_us.

-m:C

 

Forces compression for all transfers.

-n

 

Suppresses automatic logon during the initial connection. The parameter is ignored during processing.

-p

 

Specifies the name of the TCP/IP if more than one connection is available. The parameter is ignored during processing.

-s:filename

 

Run the specified FTP script, which is a text file containing FTP commands.

-t dsn

 

Specifies a data set containing a non-standard translation table. The parameter is ignored during processing.

-w:buffersize

 

Overrides the default transfer buffer size with the specified value.  The parameter is ignored during processing.

-w nn

 

Specifies how many seconds to wait before times out. The parameter is ignored during processing.

-w nnnnnn

 

Overrides the default buffer size (default=65535 for non-Secure+, 16259 for Secure+).

-v

 

Suppresses the display of remote computer responses.