Share

AcDbHostApplicationServices::putRemoteFile

C++

virtual ACDBCORE2D_PORT Acad::ErrorStatus putRemoteFile(
    const ACHAR * pszURL, 
    const ACHAR * pszLocalFile
) const;

Description

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.

Parameters

Parameters Description
pszURL Input URL to which to upload file
pszLocalFile Input local file to upload

Links

AcDbHostApplicationServices

Was this information helpful?