87
Operating FTP server directories
After the switch serving as the FTP client has established a connection with an FTP server, create or delete
folders under the authorized directory of the FTP server. For more information about establishing an FTP
connection, see “Establishing an FTP connection.”
T
o operate the directories on an FTP server:
Task Command
Remarks
Display detailed information about a directory or file on the
remote FTP server.
dir [ remotefile [ localfile ] ] Optional
Query a directory or file on the remote FTP server. ls [ remotefile [ localfile ] ] Optional
Change the working directory of the remote FTP server. cd { directory | .. | / } Optional
Exit the current working directory and return to an upper level
directory of the remote FTP server.
cdup Optional
Display the working directory that is being accessed. pwd Optional
Create a directory on the remote FTP server. mkdir directory Optional
Remove the specified working directory on the remote FTP server.
rmdir directory Optional
Operating FTP server files
After the switch serving as the FTP client has established a connection with an FTP server, upload a file to or
download a file from the FTP server under the authorized directory of the FTP server by following these steps.
For information about establishing an FTP connection, see “Establishing an FTP connection.”
Us
e dir or ls to view the directory and the location of the file on the FTP server.
Delete useless files for effective use of the storage space.
Set the file transfer mode. FTP transmits files in two modes:
• ASCII mode—Transfers files as text.
• Binary mode—Transfers files as raw data.
Use lcd to view the local working directory of the FTP client. Upload the file under this directory, or save the
downloaded file under this directory.
Upload or download the file.