:DeleteFile()


 

Class

     aprHTTP()

 

Syntax

     :DeleteFile( cFileName ) -> lSuccess

 

Parameters

 

cFilename

File to delete from the remote server.

 

Return

Logical indicating Success.

Returns .T. if the operation succeeds, otherwise returns .F.

 

Description

The :DeleteFile() Method deletes the specified file from the remote host.

The current user must have the appropriate permission to delete the file, or an error will be returned by the server.

 

See Also

:GetFile(), :PutFile()