FTP Function Reference

sFTPReconnect

FTP Function Reference

This function reestablishes a connection to the remote server to ensure that the correct information is retrieved from the remote server.

Declare Function sFTPReconnect Lib "SapphireFTP.dll" (ByVal lPassive As Long, ByVal lLicence As Long) As Long

Parameters

  lPassive
    A long flag specifying whether to use passive mode or not. Setting this parameter to 1 will use passive mode and setting to 0 will use active mode.
  lLicence
    A long specifying the licence number of the registered utility. If using in demo mode, enter 1234567890.

Return Values

  Returns a number indicating whether the reconnect procedure was successful or not. 1 = Successful, 0 = Failed.