FTP Function Reference

sFTPChangeDirectory

FTP Function Reference

This function changes to the specified directory on the remote server.

Declare Function sFTPChangeDirectory Lib "SapphireFTP.dll" (ByVal sPath As String, ByVal lLicence As Long) As Long

Parameters

  sPath
    A string specifying the absolute or relative path to the directory to change to.
  lLicence
    A long specifying the licence number of the registered utility. If using in demo mode, enter 1234567890.

Return Values

  Returns a number indicating success or failure. If the operation was successful then the return value will be FTP_NO_ERROR. Use sFTPErrorText to get a string version of the error message.