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.


open <Computer> [<Port>]


Parameter Description


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


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


You can use an IP address or computer name (in which case a DNS server or Hosts file must be available) to specify Computer.


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