Back to product page

ActionDownload event


Fires when user selects to download from the context menu.

Syntax

  • Basic
Private Sub object_ActionDownload(Item, LocalPath, Allow)
The ActionDownload(object,Item,LocalPath,Allow) syntax has these parts:
objectA wodFtpDLX object.
ItemA DirItem object. Reference to item that will be deleted.
LocalPathA String value. Local path where file will be stored.
AllowA 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.

Platforms

Windows