wodFTPServer ActiveX Control - Threads Property
      
 

Description

Determines if user's data connection is executed in separate thread.


Property type
A Boolean value.  

Syntax

object.Threads [= value]



The Threads Property syntax has these parts:

Part Description
object An expression evaluating to an object of type wodFTPD.
value A Boolean value.

Remarks

This property determines if clients that use FTP and FTPS protocols will have all their data connections executed in separate threads. This will prevent wodFTPServer from "freezing" when large file transfers are executed, since complete data processing is executed outside of main thread - so it has enough time to refresh your GUI, accept new users, etc..

Upon each new connection, value of this property is copied to User.Threads property, so you can define it on per-user basis.

NOTE: when Threads = True, wodFTPServer cannot fire events that deal with file content, since most of container environments (such as VB) will not accept events from outside of main thread. So, no matter what is the setting of MonitorTransfers property, FileTransferData event will not be fired.

Other events, such as Progress, are correctly fired, since they are not time dependant and do not interfere with actual content that is transferred.