开发者

copy an xml file then save it

the source file: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml

I want to save as this file as "eurofxref-daily-yesterday.xml" under the wwwroot directory..

using c#.. how can I do tha开发者_运维百科t ?


Have a look here http://www.c-sharpcorner.com/UploadFile/mahesh/WebRequestNResponseMDB12012005232323PM/WebRequestNResponseMDB.aspx

you can fetch the file and then read the data into memory then write it out to a fil on your server.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜