'DeclarationPublic Property FxpPassiveTransfer As Boolean
'UsageDim instance As FtpConnection Dim value As Boolean instance.FxpPassiveTransfer = value value = instance.FxpPassiveTransfer
public bool FxpPassiveTransfer {get; set;}
'DeclarationPublic Property FxpPassiveTransfer As Boolean
'UsageDim instance As FtpConnection Dim value As Boolean instance.FxpPassiveTransfer = value value = instance.FxpPassiveTransfer
public bool FxpPassiveTransfer {get; set;}
The passive method to initiate a data connection implies the following: the client sends the PASV command to the server. This command is a request to the server that it open a port for a data connection. The server responds with an address and a port to connect to for the data transfer.
When the property is false, the active method is used to initiate a data connection: the client sends the PORT command to the server. The command includes a local port number on the client machine and is a request to the server that it connect to the client at the specified port for a data connection.
For FXP file transfers to work properly, one client should have the property to true, and the other to false.
For all non FXP file transfers, see the PassiveTransfer Property.
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Standard: netstandard2.0, netstandard2.1
.NET Framework: net20, net35, net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.