Deletes the given file from the destination site.
Syntax
HRESULT DeleteFile( LPCWSTR wsFile );
Parameters
- wsFile
- Address of a null-terminated string that contains the name of the file to delete.
Return Value
Returns S_OK if successful, or an error code otherwise.