Quantcast
Viewing all articles
Browse latest Browse all 27209

Download file that is not direct link

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:

Code:

Dim client = New WebClient()
        client.DownloadFile("http://www.webpage.com/original/XXXX/0", "PATH OUTPUT")

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!

Viewing all articles
Browse latest Browse all 27209

Trending Articles