Fabric OS Reference Manual

Telnet Commands 39
file
Specify a file name in quotation marks; for example,
config.txt
. Absolute path names may be specified
using forward slash (
/
). Relative path names create the
file in the users home directory on UNIX hosts, and in
the directory where the FTP server is running on
Windows hosts. This operand is optional.
passwd
Specify a password in quotation marks. If present, the
command uses FTP to transfer the file. This operand is
optional.
Example To upload a configuration file using FTP from host
citadel
, using
account
jdoe
, and a configuration file
config.txt
:
If you enter the command with no operands, you are prompted for the
appropriate values:
Errors The upload can fail for several reasons:
The host name is not known to the switch.
The host IP address cannot be contacted.
The user does not have permission on the host.
The user runs a script that prints something at login.
The RSHD or FTP server is not running on the host.
swd5:admin> configUpload "citadel","jdoe","config.txt","passwd"
upload complete
switch:admin>
switch:admin> configUpload
Server Name or IP Address [citadel]: 192.168.15.42
User Name [none]: user21
File Name [config.txt]: config-switch.txt
Protocol (RSHD or FTP) [FTP]: ftp
Password: xxxxxx
upload complete
switch:admin>