:PutFile()


Class

     aprHTTP()

 

Syntax

      :GetFile( cLocalFile, cRemoteFile ) --> lSuccess

 

Parameters

 

 

cLocalFile

Local file name to copy to remote Server.

 

cRemoteFile

Remote file name including relative path on the Server

 

Return

lSuccess. Logical indicating success of the operation.

.T. = success, .F. = Failure.

 

Description

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

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

 

This Method is typically only accepted by HTTP servers that support version 1.1 of the protocol or later.

 

See Also

:GetFile(), Connect()