SetFTPTransferMethod

 

Sets the Transfer Method property of the stored FTP connection identified by iConnectionID. This property specifies whether the files should be copied or moved to the FTP server.

 

SetFTPTransferMethod (pDevMode As Long, iConnectionID As Integer, iValue As Integer) As Boolean

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value iConnectionID:

The ID of the selected FTP connection. The ID can be attained by using the GetFTPConnectionByIndex, GetFTPConnectionByName, GetSelectedFTPConnection or the AddFTPConnection methods.

 

Input value iValue:

The new value of the property. Can be one of the following values:

0: Copy the files to the server (and leave the uploaded files on the local machine)

1: Move the files to the server (and delete the files from the local machine after uploading)

 

Return value:

True on success, otherwise False.

 

NOTE: For 32-bit applications, use pDevMode as Integer, instead of Long.