Hello!!
I tried to download a file that the url is not a direct URL.
The url is like:
http://www.webpage.com/original/XXXX/0
Results:
- If I enter the URL on my navigator, the navigator redirects to principal webpage
- If I pulse on Download button that have the link, then I can download the file. (It is like: <a href="http://www.webpage.com/original/XXXX/0" rel="nofollow"><img class="icon" src="/images/download.png" alt="download" width="16" height="16">download</a>)
- If I use the Internet Download Manager or DownThemAll, then I can download the file.
- If I use:
Then I get the source code of the principal webpage.
Notes:
I dont need login on the web for download files.
I want know how I can download these type of files. My last option will be call IDM for download file from SELL.
Regards and thanks!
I tried to download a file that the url is not a direct URL.
The url is like:
http://www.webpage.com/original/XXXX/0
Results:
- If I enter the URL on my navigator, the navigator redirects to principal webpage
- If I pulse on Download button that have the link, then I can download the file. (It is like: <a href="http://www.webpage.com/original/XXXX/0" rel="nofollow"><img class="icon" src="/images/download.png" alt="download" width="16" height="16">download</a>)
- If I use the Internet Download Manager or DownThemAll, then I can download the file.
- If I use:
Code:
Dim client = New WebClient()
client.DownloadFile("http://www.webpage.com/original/XXXX/0", "PATH OUTPUT")
Notes:
I dont need login on the web for download files.
I want know how I can download these type of files. My last option will be call IDM for download file from SELL.
Regards and thanks!