3Com 4500 PWR 50-PORT Get Syntax, Download the file temp1.c and saves it as temp.c, Lcd Syntax

Models: 4500 26-PORT 4500 PWR 26-PORT 4500 PWR 50-PORT 4500 50-PORT

1 466
Download 466 pages 21.69 Kb
Page 332
Image 332

326CHAPTER 12: USING SYSTEM MANAGEMENT COMMANDS

[ftp]

get Syntax

get remotefile [ localfile ]

View

FTP Client view

Parameter

localfile: Local file name.

remotefile: Name of a file on the remote FTP Server.

Description

Use the get command to download a remote file and save it locally.

If no local file name is specified, it will be considered the same as that on the remote FTP Server.

Example

Download the file temp1.c and saves it as temp.c

<SW4500>ftp 1.1.1.1

Trying ...

Press CTRL+K to abort

Connected.

220 FTP service ready. User(none):hello

331 Password required for hello. Password:

230 User logged in [ftp]get temp1.c temp.c 200 Port command okay.

150 Opening ASCII mode data connection for temp1.c.

..226 Transfer complete.

FTP: 1709 byte(s) received in 2.176 second(s) 0.00 byte(s)/sec. [ftp]

lcd Syntax

lcd

View

FTP Client view

Parameter

None

Description

Use the lcd command to display local working path of FTP Client.

Example

Show local working path.

Page 332
Image 332
3Com 4500 PWR 50-PORT Get Syntax, Download the file temp1.c and saves it as temp.c, Lcd Syntax, Show local working path