Using Another Username To Log In To An Ftp Server - H3C S5120-SI Series Operation Manual

Hide thumbs Also See for S5120-SI Series:
Table of Contents

Advertisement

download a file from the FTP server under the authorized directory of the FTP server by following these
steps:
1)
Use the dir or ls command to display the directory and the location of the file on the FTP server.
2)
Delete useless files for effective use of the storage space.
3)
Set the file transfer mode. FTP transmits files in two modes: ASCII and binary. ASCII mode
transfers files as text. Binary mode transfers files as raw data.
4)
Use the lcd command to display the local working directory of the FTP client. You can upload the
file under this directory, or save the downloaded file under this directory.
5)
Upload or download the file.
Follow these steps to operate the files on an FTP server:
To do...
Display detailed information
about a directory or file on
the remote FTP server
Query a directory or file on
the remote FTP server
Delete the specified file on
the remote FTP server
permanently
Set the file transfer mode to
ASCII
Set the file transfer mode to
binary
Set the data transmission
mode to passive
Display the local working
directory of the FTP client
Upload a file to the FTP
server
Download a file from the FTP
server

Using Another Username to Log In to an FTP Server

After the device serving as the FTP client has established a connection with the FTP server (For how to
establish an FTP connection, refer to
to log in to the FTP server.
This feature allows you to switch to different user levels without affecting the current FTP connection
(namely, the FTP control connection, data connection and connection status are not changed); if you
input an incorrect username or password, the current connection will be terminated, and you must
return to user view and log in with the ftp command again.
Use the command...
dir [ remotefile [ localfile ] ]
ls [ remotefile [ localfile ] ]
delete remotefile
ascii
binary
passive
lcd
put localfile [ remotefile ]
get remotefile [ localfile ]
Establishing an FTP
1-5
Remarks
Optional
The ls command displays the name of
a directory or file only, while the dir
command displays detailed information
such as the file size and creation time.
Optional
The ls command displays the name of
a directory or file only, while the dir
command displays detailed information
such as the file size and creation time.
Optional
Optional
ASCII by default.
Optional
ASCII by default.
Optional
Passive by default.
Optional
Optional
Optional
Connection.), you can use another username

Advertisement

Table of Contents
loading

Table of Contents