Operating The Directories On An Ftp Server; Operating The Files On An Ftp Server - H3C S5120-SI Series Operation Manual

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

Advertisement

To do...
Log in to the remote FTP server
directly in user view
Log in to the remote FTP server
indirectly in FTP client view
If no primary IP address is configured on the specified source interface, no FTP connection can be
established.
If you use the ftp client source command to first configure the source interface and then the
source IP address of the transmitted packets, the newly configured source IP address will take
effect instead of the current source interface, and vice versa.

Operating the Directories on an FTP Server

After the device serving as the FTP client has established a connection with an FTP server (For how to
establish an FTP connection, refer to
folders under the authorized directory of the FTP server.
Follow these steps to operate the directories on an FTP server:
Display detailed information about a directory
or file on the remote FTP server
Query a directory or file on the remote FTP
server
Change the working directory of the remote
FTP server
Exit the current working directory and return to
an upper level directory of the remote FTP
server
Display the working directory that is being
accessed
Create a directory on the remote FTP server
Remove the specified working directory on the
remote FTP server

Operating the Files on an FTP Server

After the device serving as the FTP client has established a connection with an FTP server (For how to
establish an FTP connection, refer to
Use the command...
ftp [ server-address [ service-port ]
[ source { interface interface-type
interface-number | ip
source-ip-address } ] ]
ftp
open server-address [ service-port ]
Establishing an FTP
To do...
Establishing an FTP
Connection.), you can create or delete
Use the command...
dir [ remotefile [ localfile ] ]
ls [ remotefile [ localfile ] ]
cd { directory | .. | / }
cdup
pwd
mkdir directory
rmdir directory
Connection.), you can upload a file to or
1-4
Remarks
Use either approach.
The ftp command is
available in user view; and
the open command is
available in FTP client
view.
Remarks
Optional
Optional
Optional
Optional
Optional
Optional
Optional

Advertisement

Table of Contents
loading

Table of Contents