如何以编程方式从网站下载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)