RemotePort Parameter (Connect-FTP Cmdlet)
Specifies the network port used to connect to the FTP server.
Syntax
Connect-FTP -RemotePort string
Data Type
cstr
Default Value
""
Remarks
This property, together with the RemoteHost property, identifies the FTP server that the 本製品 connects to.
If this property is left unset, the 本製品 uses the default port for the selected protocol:
- FTP: 21
- FTPS (explicit): 21
- FTPS (implicit): 990
Ensure that the specified port is open and accessible from the client machine.