virtual ACDBCORE2D_PORT Acad::ErrorStatus putRemoteFile( const ACHAR * pszURL, const ACHAR * pszLocalFile ) const;
|
Parameters |
Description |
|
const ACHAR * pszURL |
Input URL to which to upload file |
|
const ACHAR * pszLocalFile |
Input local file to upload |
This method uploads a local resource (file) identified by the pathname pszLocalFile to the remote location specified by the URL pszURL.
putRemoteFile() is designed to complement getRemoteFile() in that you can implement outgoing file transfers, where the destination is some remote site specified by the URL in the first argument. The local file that needs to be uploaded is specified by the second argument, pszLocalFile. The return value is one of the Internet-specific ErrorStatus enumerated types, which is a comprehensive set of status codes applicable to remote file transfers.