User guide

Application Examples for File Management Managing System Files
page 2-30 OmniSwitch 7700/7800/8800 Switch Management Guide April 2006
2 Use the cd command to change your current directory to /flash/working. Use the ls or pwd command
to verify.
-> cd working
-> ls
Listing Directory /flash/working:
drw 2048 Nov 3 12:32 ./
drw 2048 Nov 14 10:58 ../
-rw 450 Nov 13 10:02 rrtest1.txt
3 Enter the FTP mode by using the ftp command followed by the IP address or the name of the host you
are connecting to.
->ftp 10.255.11.101
220 Connecting to [10.255.11.101]...connected.
Cosmo Windows FTP server ready
Name : Myhost1
Note. If the DNS resolver has been configured and enabled, you must use a host name instead of an IP
address.
4 Enter a valid user name and password for the host you specified with the ftp command. A screen
similar to the following displays:
Name (d) : Jsmith
331 Password required for Jsmith
Password: *****
230 User Jsmith logged in.
5 Use the FTP “put” command to transfer the file from your switch to the host as shown here.
ftp> put rrtest.txt
The following will display.
200 Port set okay
150 Opening BINARY mode data connection
Transferred 20 octets in 1 seconds.
226 Transfer complete
ftp>
6 To exit the switch’s FTP client mode, use the “quit” FTP command. Your current directory on the
switch is /flash/working, which is the location from which you initiated the FTP client session. Use the
pwd CLI command to verify your current directory.
ftp> quit
221 Bye
-> pwd
/flash/working