如何以编程方式从网站下载Excel文件c# [英] How to Download Excel file from a website programatically c#

查看:198
本文介绍了如何以编程方式从网站下载Excel文件c#的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

团队,

我想从网站下载所有Excel文件并将其放到服务器位置,例如。使用Windows应用程序"C:\\ test"。

I want to download all the Excel files from a website and put it to the server location eg. "C:\\ test" using windows application.

请帮助我。

提前致谢。

推荐答案

它是"C:\ test\sometong.xls" ("C:"之后的一个反斜杠)?文件名丢失了吗?

It is "C:\test\sometong.xls" (one backslash following "C:")? And file name is missing?

(你应该有一个文件夹下载的文件夹)

(You should have previlege of a folder where the file is downloaded)


这篇关于如何以编程方式从网站下载Excel文件c#的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆