IAPI::OpenFtpConnection

property OpenFtpConnection.

Opens a connection with a FTP server.

 

HRESULT OpenFtpConnection(
  BSTR ftpPath,
  BSTR User,
  BSTR Password,
  long *pVal
);

Parameters

ftpPath

[in] .   URL or IP address which locates the FTP server (e.g  “ftp://ftp.microsoft.com”)

User

[in] .   Optional username if required

Password

[in] .   Optional password if required

pVal

[out, retval] The returned value.

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