22 ftp username – CANOGA PERKINS 9175 Command Reference User Manual

Page 668

Advertising
background image

CanogaOS Command Reference

39-15

Command Mode

privileged EXEC


Usage

Use the ftp command to upload and download files from remote ftp server.


Examples

The following is sample output from the ftp command:

Switch#ftp 1.1.1.1

Connected to 1.1.1.1.

220 FTP server {Version 5.60} ready.

Name {1.1.1.1:root}: root

331 Password required for root.

Password:

230 User root logged in.

Remote system type is UNIX.

Using binary mode to transfer files.

ftp> ls

200 PORT command successful.

150 Opening ASCII mode data connection for /bin/ls.

total 70

-rw------- 1 root 19581 Mar 15 21:03 .bash_history

-rw-r--r-- 1 root 72 Mar 12 20:37 .bash_profile

drwx------ 2 root 1024 Jul 20 2006 .ssh

-rw------- 1 root 12288 Jul 15 2006 .swp

-rw-r----- 1 root 172 Mar 13 02:29 dhcpsnooping

-rw-r----- 1 root 32252 Mar 13 22:12 startup-config.conf

226 Transfer complete.

ftp>


Related Commands

39.22 ftp username

To create an FTP username, use the ftp username command in global configuration mode. To remove

an FTP username, use the no form of this command.


Command Syntax

ftp username username

no ftp username

username

The user name of the remote FTP server.


Default

No ftp username is defined.

Advertising