sshrum Posted October 4, 2008 Share Posted October 4, 2008 filedelete(@tempdir & "\player.exe") InetGet("http://www.shrum.net/code/player/player.exe", @tempdir & "\player.exe", 1,1) While @InetGetActive TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16) Sleep(250) Wend ShellExecute(@tempdir) If you go to the website and click in the binary link , any browser will report the download size as 438k. InetGetSize/InetGet keeps reporting 204 ergo the file is not all there (the file in the temp folder is only 204k and should be 438k) Any ideas? Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
ludocus Posted October 5, 2008 Share Posted October 5, 2008 well.. does the file run normaly? Link to comment Share on other sites More sharing options...
sshrum Posted October 5, 2008 Author Share Posted October 5, 2008 well.. does the file run normaly?Yes Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
DW1 Posted October 5, 2008 Share Posted October 5, 2008 That's 204 bytes not kb. I think the issue you are having is due to the site's structure and php. I can not seem to script the download of the file unless I use _IEcreate and browse through like a user would. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
sshrum Posted October 5, 2008 Author Share Posted October 5, 2008 (edited) That's 204 bytes not kb.I think the issue you are having is due to the site's structure and php. I can not seem to script the download of the file unless I use _IEcreate and browse through like a user would.The link to the file is a direct one, not one delivered thru a php page so php has nothing to do with it.http://www.shrum.net/code/player/player.exeAs for the site structure? Server + InetGet issues? Server is running Centos 5.2.I'm still baffled.EDIT: Whoooo....that's different. I just tried the link and got redirected to my files subdomain instead of it asking me to download the exe. I need to investigate that...I think this is turning out to be a server issue. Edited October 5, 2008 by sshrum Sean Shrum :: http://www.shrum.net All my published AU3-based apps and utilities 'Make it idiot-proof, and someone will make a better idiot' Link to comment Share on other sites More sharing options...
DW1 Posted October 12, 2008 Share Posted October 12, 2008 Opened scite today and noticed the test script I was using to see what was up with this. It works fine now. It appears you fixed the issue... what was it? It was driving me nuts. AutoIt3 Online Help Link to comment Share on other sites More sharing options...
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