Alcatel Carrier Internetworking Solutions omniswitch manual FTP Client Application Example

Models: omniswitch

1 260
Download 260 pages 50.07 Kb
Page 65
Image 65

Managing System Files

Application Examples for File Management

 

 

 

 

5Use the ls 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.

1Log into the switch. Use the ls 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

2Use 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

Aug 3 12:32 ./

drw

2048

Aug

14

10:58 ../

-rw

450

Aug

13

10:02 rrtest1.txt

OmniSwitch 6600 Family Switch Management Guide March 2005

page 2-31

Page 65
Image 65
Alcatel Carrier Internetworking Solutions omniswitch manual FTP Client Application Example