Ftp: open


Applies To: Windows Server 2008 R2,Windows Server 2008,Windows Vista,Windows 7

Connects to the specified FTP server. For examples of how this command can be used, see Examples.

Syntax


Copy Code

open <Computer> [<Port>]

Parameters

Parameter

Description

<Computer>

Specifies the remote computer to which you are trying to connect.

[<Port>]

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

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.

Examples

Connect to the FTP server at ftp.microsoft.com.


Copy Code

Open ftp.microsoft.com

Connect to the FTP server at ftp.microsoft.com that is listening on TCP port 755.


Copy Code

open ftp.microsoft.com 755

Additional references