InetSendSaveCmd Example for C++ 5.0 and later
short nRet;
CString csOut;
nRet = m_pRasterInet->InetSendSaveCmd(999,
99,
"d:\\temp\\remote.tif",
FILE_TIF, 0, 0, TRUE);
if((nRet != 0) && (nRet != ERROR_DATA_QUEUED))
{
csOut.Format(TEXT("ERROR %d calling InetSendSaveCmd."), nRet);
AfxMessageBox(csOut);
}
else
AfxMessageBox(TEXT("InetSendSaveCmd Executed."));