Alcatel-Lucent 6850-48 Guida Di Riferimento

Pagina di 3444
File Management Commands
OmniSwitch CLI Reference Guide
September 2009
page 7-45
ftp
Starts an FTP session.
ftp {host_name | ip_address}
Syntax Definitions
host_name
Specifies the host name for the FTP session.
ip_address
Specifies the IP address for the FTP session.
Defaults
N/A 
Platforms Supported
OmniSwitch 6400, 6850, 6855, 9000, 9000E
Usage Guidelines
• You must have a valid username and password for the specified host.
• You can establish up to 9 FTP sessions from an OmniSwitch (when it acts as FTP Client) and up to 4 
FTP sessions towards an OmniSwitch (when it acts as FTP Server).
• After logging in, FTP commands are supported. They are defined in the following table:
ascii
Set transfer type to ASCII (7-bit).
binary
Set transfer type to binary (8-bit).
bye
Close session gracefully.
cd
Change to a new directory on the remote machine.
delete
Delete a file on the remote machine.
dir
Obtain a long listing on the remote machine.
get
Retrieve a file from the remote machine.
hash
Print the hash symbol (#) for every block of data transferred. (This com-
mand toggles hash enabling and disabling.)
ls
Display summary listing of the current directory on the remote host.
put
Send a file to the remote machine.
pwd
Display the current working directory on the remote host.
quit
Close session gracefully.
remotehelp
List the commands that the remote FTP server supports.
user
Send new user information.
lpwd
Display the current working directory on the local host.
?    
Display list of available FTP commands.