Jump to content

inetget


Recommended Posts

This is the first time I see something like this, but If i try to DL this image with IDM (dl manager) then IDM downloads the image successfully.

Why is this so ?

$img = 'http://www.imgserve.net/images/c7gl2y1wzw98xvhrvhk.jpg'
$size = InetGetSize($img)
MsgBox(0, "Size of remote file:", $size)

InetGet($img, "aaa.jpg", 1, 1)

Exit
My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
Link to comment
Share on other sites

  • Developers

Its because the actual URL is: http://www.imgserve.net/download.php?file=...zw98xvhrvhk.jpg

Did you look at the source what was downloaded with the link you gave?

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

Its because the actual URL is: http://www.imgserve.net/download.php?file=...zw98xvhrvhk.jpg

Did you look at the source what was downloaded with the link you gave?

oo what was downloaded was the HTML file of the page not the image. but how does IDM know that it should DL the real image & not the webpage source?

I bet it has some sord of an universal solution.

And why inetget is unable to recognize what I want to DL ?

My Projects:[list][*]Guide - ytube step by step tut for reading memory with autoitscript + samples[*]WinHide - tool to show hide windows, Skinned With GDI+[*]Virtualdub batch job list maker - Batch Process all files with same settings[*]Exp calc - Exp calculator for online games[*]Automated Microsoft SQL Server 2000 installer[*]Image sorter helper for IrfanView - 1 click opens img & move ur mouse to close opened img[/list]
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...