GetFTPTransferMethod

 

Gets 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.

 

GetFTPTransferMethod (pDevMode As Long, iConnectionID As Integer) As Integer

 

Input value pDevMode:

Handle to the BlackIceDEVMODE.

 

Input value iConnectionID:

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

 

Return value:

The current 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)

 

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