wodFtpDLX ActiveX Control - ActionCopy Event
    
 

Description

Fires when user selects copy from the context menu.


Syntax

Private Sub object_ActionCopy(Item, Allow)



The ActionCopy Event syntax has these parts:

Part Description
object A wodFtpDLX object.
Item A DirItem object. Reference to item that will be copied to the clipboard.
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 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) .