Alcatel Carrier Internetworking Solutions omniswitch User Manual

Page of 260
Managing System Files
Application Examples for File Management
OmniSwitch 6600 Family Switch Management Guide
March 2005
page 2-31
Use th
 command to verify that the files are now located in the /flash/resources directory.
-> ls /flash/resources
Listing Directory /flash/resources:
drw      2048 Jul 5 17:20 ./
drw      2048 Jul 5 16:25 ../
-rw         6 Jul 5 17:03 test1.txt
-rw         6 Jul 5 17:03 test2.txt
-rw         6 Jul 5 17:03 test3.txt
17995776 bytes free 
FTP Client Application Example
The following example shows how to transfer a file named rrtext.txt from the switch’s /flash/working 
directory to another host using the switch as an FTP client.
Log into the switch. Use th
 command to verify that your current directory is /flash.
-> ls
Listing Directory /flash:
-rw       272 Jun 12 15:57 boot.params
drw      2048 Jun 12 17:52 certified/
drw      2048 Jun 13 12:32 working/
drw      2048 Jul 12 16:22 switch/
-rw     10000 Jun 12 15:58 swlog1.log
-rw     10000 Jun 12 17:50 swlog2.log
-rw       445 Jun 21 11:43 aaasnap
-rw      7298 Jul 24 16:51 websnap1024
-rw   2662306 Jun 28 16:44 cs_system.pmd
-rw       543 Jun 28 12:02 aaapublic
drw      2048 Jun 28 17:50 newdir/
-rw      1452 Jun 29 12:50 nssnap76
-rw      1452 Jun 29 12:42 iesnap76
16480256 bytes free 
Use th
 command to change your current directory to /flash/working. Use th
 command 
to verify.
-> cd working
-> ls
Listing Directory /flash/working:
drw      2048 Aug 3 12:32 ./
drw      2048 Aug 14 10:58 ../
-rw       450 Aug 13 10:02 rrtest1.txt