CString strUrl = get_post_url(purl_get_version_url) + _T("/exportExcelFileWeb/api"); //url地址
	CString strPrama;
	strPrama.Format(_T("?programId=%d&orgCode=%s&fileName=%s"), m_id, org_code, name);
	HRESULT hr = URLDownloadToFile(NULL, strUrl + strPrama, _T("F:\\test.xls"), 0, NULL);

  

URLDownloadToFile可以将服务器上的文件下载到本地
将http网页数据流保存到本地

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-10-10
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2021-08-04
  • 2021-09-09
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-07-07
  • 2022-02-27
  • 2021-07-15
  • 2021-12-05
相关资源
相似解决方案