goldenix Posted April 7, 2009 Posted April 7, 2009 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]
Developers Jos Posted April 7, 2009 Developers Posted April 7, 2009 Its because the actual URL is: http://www.imgserve.net/download.php?file=...zw98xvhrvhk.jpgDid 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.
PhilRip Posted April 7, 2009 Posted April 7, 2009 use: InetGet($img, "aaa.jpg", 1) the last flag caused that the program did not wait for the download to complete (so it exited)
goldenix Posted April 7, 2009 Author Posted April 7, 2009 Its because the actual URL is: http://www.imgserve.net/download.php?file=...zw98xvhrvhk.jpgDid 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]
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now