Determines if file transfer is passive.
[Visual Basic]
Public Property Passive As Boolean[C#]
public bool Passive {get; set;}[JScript]
public function get,set Passive : booleanFTP protocol requires secondary data connection to be opened when actual contents of files or directories needs to be transferred. For this purpose, either client or the server initiate new connection towards server/client, and once data connection is established, data flows over it leaving control connection available for any additional commands for the connection (such as for aborting transfer).
Data connection can be opened in regular active mode, in which case PORT command is sent to the server, and server will initiate connection towards the client. Since this type has a problems with firewalls and proxies, widely used type is passive where client sends PASV command to the server, server opens and accepts connection on some port, and client initiates new connection towards the server. This is default behavior for wodFtpDLX.NET.
Before transferring files, wodFtpDLX.NET will internally send all commands needed to prepare file transfer - it will change directory, select transfer mode (Binary, AscII), select active or passive connection, and finally transfer files. You don't need to worry about this in your applications.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
© WeOnlyDo Software. All Rights Reserved.