Jump to content

inetget problem


Splitz
 Share

Recommended Posts

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

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 ascii

Maybe it solves your problem

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...