Back to product page

ActionCopy event


Fires when user selects copy from the context menu.

Syntax

  • Basic
Private Sub object_ActionCopy(Item, Allow)
The ActionCopy(object,Item,Allow) syntax has these parts:
objectA wodFtpDLX object.
ItemA DirItem object. Reference to item that will be copied to the clipboard.
AllowA Boolean value. When set to False then action is ignored.

Remarks

Available only in ActiveX (GUI) version!

This event is fired when user selected 'Copy' from the context menus. If you Allow it, then wodFtpDLX will internally call GetData and copy result to the Clipboard. If you don't want to allow user to read contents of the file, set Allow argument to False.

It is very handy to use TransferMode property set to AscII when user tries to read file. Most probably you will connect to UNIX servers, and when set to AscII then text files will be translated to windows format (LF->CRLF translation) .

Platforms

Windows