IUploadRsp::GetFilePathName

The GetFilePathName method returns the filename and path location on the local machine, of the uploaded object store item.

_bstr_t bstrFilePathName = spIUploadRsp->GetFilePathName();
Parameters
None.
Results
Returns a _bstr_t, which contains the filename and path location on the local machine, of the uploaded object store item.
Sample
The following is a fragment from the complete example for the Upload command.
   ...
   // Obtain the specific response information contained in the custom UploadRsp component
   IUploadRspPtr spIUploadRsp(spIAppIntRsp);
_ASSERTE(spIUploadRsp != 0);
std::cout << "PathName=" << (LPCSTR) spIUploadRsp->GetFilePathName() << std::endl; std::cout << "MimeType=" << (LPCSTR) spIUploadRsp->GetMimeType() << std::endl;
std::cout << "ContentSize=" << spIUploadRsp->GetContentSize() << " bytes" << std::endl; ...