IAPI::FtpUploadFile

property FtpUploadFile.

Uploads a file to a FTP server.

 

HRESULT FtpUploadFile(
  long ftpConnectionHandle,
  BSTR localFilename,
  BSTR ftpFilename,
  long *pVal
);

Parameters

ftpConnectionHandle

[in] .   Handle of FTP connection

localFilename

[in] .   Fullpath filename to upload

ftpFilename

[in] .   Path and filename on the FTP server site

pVal

[out, retval] The returned value 1 (success) or 0 (failure)

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