Splitz Posted December 9, 2007 Share Posted December 9, 2007 InetGet ("http://www.website.com", "C:\WINDOWS\File.exe") Run ("File.exe") why does it save my file as some kind of a 16 bit ms-dos subsystem and not the actual file ? the file i want it to download and fun is like 500kb in size , but when i check my windows folder and find file.exe its only like 1kb big and trys to run as a 16 bit ms-dos thing Link to comment Share on other sites More sharing options...
BAM5 Posted December 9, 2007 Share Posted December 9, 2007 InetGet ("http://www.website.com", "C:\WINDOWS\File.exe")Ok so your first parameter is kinda "wacky", it should be "http://www.website.com/file.exe". [center]JSON Encoding UDF[/center] Link to comment Share on other sites More sharing options...
therks Posted December 9, 2007 Share Posted December 9, 2007 Perhaps it's not finding the file, and it's actually downloading a 404 document. Try saving it as File.txt and open it, just to see what's in it. If it's remotely legible it's probably not downloading the file you want. My AutoIt Stuff | My Github Link to comment Share on other sites More sharing options...
LOULOU Posted December 9, 2007 Share Posted December 9, 2007 Perhaps it's not finding the file, and it's actually downloading a 404 document. Try saving it as File.txt and open it, just to see what's in it. If it's remotely legible it's probably not downloading the file you want.Maybe you can use Opt("FtpBinaryMode",0)which allow transfering a file by byte and not in asciiMaybe it solves your problem 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