:GetFile()


 

Class

     aprHTTP()

 

Syntax

      :GetFile( cRemoteFile, cLocalFile ) --> lSuccess

 

Parameters

 

 

cRemoteFile

Remote file name including relative path on the Server

 

cLocalFile

Local file name to copy file to.

 

Return

lSuccess. Logical indicating success of the operation.

.T. = success, .F. Failure.

 

Description

:GetFile() copies the remote file to a local file.

The cRemoteFile needs to have the proper file path to the remote file including subdirectories.

 

See Also

:PutFile(), Connect()