IAPI::FtpRemoveFile

property FtpRemoveFile.

Removes a file from a FTP server.

 

HRESULT FtpRemoveFile(
  long ftpConnectionHandle,
  BSTR ftpFilename,
  long *pVal);

Parameters

ftpConnectionHandle

[in] .   Handle of FTP connection

ftpFilename

[in] .   Full qualified filename to delete ( e.g "/Softlib/DUMMY.TXT" )

pVal

[out, retval]

The returned value is 1 if OK or is 0 if failed

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI