Delete a file on the server.
object.DeleteFile( RemoteFile )
- A string which specifies the name of the file on the server
that will be deleted. The file pathing and name conventions
must be that of the server.
A value of zero is returned if the operation was successful,
otherwise a non-zero error code is returned which indicates the cause
of the failure.
The DeleteFile method deletes an existing file from the
server. The user must have the appropriate permission to
delete the specified file.