Configuration Example: A Switch Operating As An Ftp Server - H3C S3100 Series Operation Manual

H3c s3100 series ethernet switches operation manual
Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Operation
Get the local working path on the
FTP client
Display the working directory on
the FTP server
Create a directory on the remote
FTP server
Remove a directory on the remote
FTP server
Delete a specified file
Query a specified file on the FTP
server
Download a remote file from the
FTP server
Upload a local file to the remote
FTP server
Rename a file on the remote server
Log in with the specified user
name and password
Connect to a remote FTP server
Terminate the current FTP
connection without exiting FTP
client view
Terminate the current FTP
connection and return to user view
Display the online help about a
specified command concerning
FTP
Enable the verbose function

Configuration Example: A Switch Operating as an FTP Server

Network requirements
A switch operates as an FTP server and a remote PC as an FTP client. The application switch.bin of
the switch is stored on the PC. Upload the application to the remote switch through FTP and use the
boot boot-loader command to specify switch.bin as the application for next startup. Reboot the switch
Command
lcd
pwd
mkdir pathname
rmdir pathname
delete remotefile
dir [ remotefile ] [ localfile ]
ls [ remotefile ] [ localfile ]
get remotefile [ localfile ]
put localfile [ remotefile ]
rename remote-source
remote-dest
user username [ password ]
open { ip-address | server-name }
[ port ]
disconnect
close
quit
bye
remotehelp [ protocol-command ]
verbose
1-6
Description
Optional
If no file name is specified, all the
files in the current directory are
displayed.
The difference between these two
commands is that the dir
command can display the file
name, directory as well as file
attributes; while the Is command
can display only the file name and
directory.
Optional
Optional
Enabled by default

Advertisement

Chapters

Table of Contents
loading

Table of Contents