ftp

Syntax

ftp host[port][-b]

Description

Connects to FTP servers for network file transfers. Connects to FTP servers for network file transfers.

Options

host

Specifies a server IPv4 address or host name.

port

Specifies a server FTP port.

-b

Enables page break for sub-commands.

Usage

This command launches an interactive shell for network file transfer (FTP) operations. Only IPv4 addresses are supported. Press ESC or Ctrl-C to cancel a file transfer.

IMPORTANT:

You do not need to use ifconfig on a network interface if you plan to run webclient or ftp over the same interface because these interface and IP address settings are automatically selected by the Pre-Boot Network Settings configured in the System Utilities.

If the interface used by ftp and webclient happens to be configured by ifconfig, that setting is erased and, instead, the System Utilities Pre-Boot Network Settings menu is applied on the interface when the commands are run.

Examples

To connect to an FTP server at a specified IP address:

fs0:\> ftp 192.168.1.20
      

To connect to an FTP server using a host name:

fs0:\> ftp ftp.hpe.com
      

To connect to an FTP server using an IP address, the user name user and a password of pass:

fs0:\> ftp 192.168.1.20
User (192.168.1.20):user
Password:pass
Login successful.
      

To connect to an FTP server at a specified IP address and enable page break in sub-commands:

fs0:\> ftp 192.168.1.20 -b