Managing directories on the FTP server

Perform the following tasks in FTP client view:

Task

Command

Display directory and file information on the FTP server.

  • Display the detailed information of a directory or file on the FTP server:dir [ remotefile [ localfile ] ]

  • Display the name of a directory or file on the FTP server:ls [ remotefile [ localfile ] ]

Change the working directory on the FTP server.

cd { directory | .. | / }

Return to the upper level directory on the FTP server.

cdup

Display the working directory that is being accessed.

pwd

Create a directory on the FTP server.

mkdir directory

Delete a directory from the remote FTP server.

rmdir directory