ftp open

Applies to: Windows Server (Semi-Annual Channel), Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012

Connects to the specified ftp server.

Syntax

open <computer> [<port>]

Parameters

Parameter Description
<computer> Specifies the remote computer to which you are trying to connect. You can use an IP address or computer name (in which case a DNS server or Hosts file must be available).
[<port>] Specifies a TCP port number to use to connect to an ftp server. By default, TCP port 21 is used.

Examples

To connect to the ftp server at ftp.microsoft.com, type:

open ftp.microsoft.com

To connect to the ftp server at ftp.microsoft.com that is listening on TCP port 755, type:

open ftp.microsoft.com 755

Additional References