wodFtpDLX ActiveX Control - ActionDownload Event
    
 

Description

Fires when user selects to download from the context menu.


Syntax

Private Sub object_ActionDownload(Item, LocalPath, Allow)



The ActionDownload Event syntax has these parts:

Part Description
object A wodFtpDLX object.
Item A DirItem object. Reference to item that will be downloaded.
LocalPath A String value. Local path where file will be stored.
Allow A Boolean value. When set to False then action is ignored.

Remarks

Available only in ActiveX (GUI) version!

This event is fired when user selects 'Download' from the context menus. Also - please note that in future versions it will also be fired when user tries to drag&drop file from wodFtpDLX window to external Explorer.

You should set LocalPath argument to absolute filename where remote file will be stored on your system. If you don't want to allow users to download files, then set Allow argument to False.