tags:

views:

32

answers:

1

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 that ?

+1  A: 

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.

Jonathan S.