tucker Posted October 18, 2017 Report Posted October 18, 2017 Need to download the word document from URL... sample url:... http://www....../test.aspx above URL direct ga open chesthe, it just downloads a word document. there is nothing else in the page. now if i click button on some random page, i want to download the word doc from the above link... please suggest. Quote
Gentle_Boy Posted October 18, 2017 Report Posted October 18, 2017 google the code for ftp or sftp site download.... Quote
Gentle_Boy Posted October 18, 2017 Report Posted October 18, 2017 you have to give login credentials if needed... Quote
karthikn Posted October 18, 2017 Report Posted October 18, 2017 1 hour ago, tucker said: Need to download the word document from URL... sample url:... http://www....../test.aspx above URL direct ga open chesthe, it just downloads a word document. there is nothing else in the page. now if i click button on some random page, i want to download the word doc from the above link... please suggest. use fiddler and check the whole flow, once you open the url.. it must be redirecting to someother url with 302 and Location header ..you can use that url or seems like WebClient.DownloadFile has auto redirect Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.