Command Manual (For Soliton) – FTP-SFTP-TFTP
H3C S3100 Series Ethernet Switches
Chapter 1 FTP and SFTP Configuration
Commands
1-18
Therefore, you are recommended to set the data transmission mode of the FTP client
to passive when accessing the FTP server through a firewall.
Examples
# Set the data transfer mode to the passive mode.
[ftp] passive
% Passive is on
1.2.17 put
Syntax
put
localfile
[
remotefile
]
View
FTP client view
Parameters
localfile
: Name of a local file to be uploaded.
remotefile
: File name used after a file is uploaded and saved on an FTP server.
Description
Use the
put
command to upload a local file on an FTP client to an FTP server.
If you do not specify the
remotefile
argument, the local file is saved on the FTP server
with its original name.
Examples
# Upload the local file named
temp.c
to the FTP server.
[ftp] put temp.c
227 Entering Passive Mode (2,2,2,2,4,13).
125 ASCII mode data connection already open, transfer starting for temp.c.
226 Transfer complete.
FTP: 15 byte(s) sent in 7.549 second(s) 1.00byte(s)/sec.
1.2.18 pwd
Syntax
pwd
View
FTP client view