Operation Manual – FTP-SFTP-TFTP
H3C S5100-SI/EI Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
1-9
To do…
Use the command…
Remarks
Download a remote file
from the FTP server
get
remotefile
[
localfile
]
Upload a local file to the
remote FTP server
put
localfile
[
remotefile
]
Rename a file on the
remote server
rename
remote
-
source
remote-dest
Log in with the specified
user name and password
user
username
[
password
]
Connect to a remote FTP
server
open
{
ip-address
|
server-name
} [
port
]
disconnect
Terminate the current
FTP connection without
exiting FTP client view
close
quit
Terminate the current
FTP connection and
return to user view
bye
Display the online help
about a specified
command concerning
FTP
remotehelp
[
protocol
-
command
]
Optional
Enable the verbose
function
verbose
Optional
Enabled by default.
II. Specifying the source interface and source IP address for an FTP client
You can specify the source interface and source IP address for a switch acting as an
FTP client, so that it can connect to a remote FTP server.
Follow these steps to specify the source interface and source IP address for an FTP
client:
To do…
Use the command…
Remarks
Specify the source
interface used for the
current connection
ftp
{
cluster
|
remote-server
}
source-interface
interface-type
interface-number
Optional
Specify the source IP
address used for the
current connection
ftp
{
cluster
|
remote-server
}
source-ip
ip-address
Optional
Enter system view
system-view
—