IAPI::FtpRemoveDirectory

property FtpRemoveDirectory.

Removes a directory from a FTP server.

 

HRESULT FtpRemoveDirectory(
  long ftpConnectionHandle,
  BSTR ftpDirectory,
  long *pVal);

Parameters

ftpConnectionHandle

[in] .   Handle of FTP connection

ftpDirectory

[in] .   Full qualified directory to delete ( e.g "/SoftlibTest" )

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