Ftp: open

Connects to the specified FTP server.


open Computer [Port]


Computer : Required. Specifies the remote computer to which you are trying to connect.

Port : Specifies a TCP port number to use to contact an FTP server. By default, TCP port 21 is used.

? open : Displays help for the open command.


  • You can use an IP address or computer name (in which case a DNS server or Hosts file must be available) to specify Computer. If auto-login is on, ftp attempts to automatically log the user onto the FTP server. For information about disabling auto-login by using ftp, see Related Topics.

Formatting legend




Information that the user must supply


Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output


Ftp subcommands

Command-line reference A-Z