Ftp: open

Connects to the specified FTP server.

Syntax

open Computer [Port]

Top of pageTop of page

Parameters

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.

Top of pageTop of page

Remarks

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.

Top of pageTop of page

Formatting legend

FormatMeaning

Italic

Information that the user must supply

Bold

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

Ftp subcommands

Command-line reference A-Z


Top of pageTop of page