CPDIR

Syntax: cpdir <server directory> [<pc-path>] [askuser | cancel | overwrite | skip]

FTP Command Index

The CPDIR command copies the specified server directory to the PC. If a PC directory is not specified, the server directory is copied to the current PC path.

server directory

Specifies the name of the server directory.

pc-path

Specifies the PC drive and folder.

askuser | cancel | overwrite | skip

Specifies what to do if the target folder already exists. ASKUSER is the default.