like for instance:
Code Code |
I was wondering how I would be able to download to the /Data directory even though it may be nonexistent... would I have to go through a lengthy process or what?
Code Code |
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
CrishRank #1,487 · 1.1K reputationPosted Jan 20, 2011, 4:34 AM EST
using filesystem object check folder/directory exist or not... and then do your code
Suthish NairRank #92 · 22.8K reputationPosted Jan 21, 2011, 12:57 AM EST
WebProxy wp = new WebProxy(your proxy); wc.Proxy.Credentials = new NetworkCredential(UserName,Password,Domain); wc.DownloadFile(sUrl, "D:\\Files"); wp = null; wc = null;