Ftp: open

Updated: April 17, 2012

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

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

Syntax

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.

Open ftp.microsoft.com

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

open ftp.microsoft.com 755

Additional references