Managing Directories On The Ftp Server; Working With Files On The Ftp Server - HP 12500 Configuration Manual

Routing switch series
Table of Contents

Advertisement

Managing directories on the FTP server

Task
Display directory and file information on the FTP
server.
Change the working directory on the FTP server.
Return to the upper level directory on the FTP
server.
Display the working directory that is being
accessed.
Create a directory on the FTP server.
Remove the specified working directory on the
remote FTP server.

Working with files on the FTP server

After you log in to the server, you can upload a file to or download a file from the authorized directory
by following these steps:
Use the dir or ls command to display the directory and location of the file on the FTP server.
1.
Delete unused files to get more free storage space.
2.
Set the file transfer mode to ASCII for text files or binary for image files.
3.
Use the lcd command to change the local working directory of the FTP client. You can upload the
4.
file or save the downloaded file in this directory.
Upload or download the file.
5.
To work with files on an FTP server, execute the following commands in FTP client view:
Task
Display directory or file
information on the FTP server.
Delete the specified file on the
FTP server permanently.
Set the file transfer mode to
ASCII.
Command
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 ] ]
cd { directory | .. | / }
cdup
pwd
mkdir directory
rmdir directory
Command
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 ] ]
delete remotefile
ascii
70
Remarks
N/A
N/A
The default file transfer mode is ASCII.

Advertisement

Table of Contents
loading

Table of Contents