Jump to content
jhave_21

Got a problem Downloading .zip files using Inetget

Recommended Posts

jhave_21

Hello all, I am trying to download an .zip file using Inetget() but what I get is a corrupted one, I got this:

[Window Title]
Compressed (zipped) Folders Error

[Content]
Windows cannot open the folder.

The Compressed (zipped) Folder 'C:\Users\GHIE\Desktop\folder.zip' is invalid.

[OK]

This is the code I am using:

InetGet("http://somesite.com/folder.zip", "C:\ProgramData\Folder\folder.zip")           ; I tried $INET_FORCERELOAD, but still not                                                                                          working

NOTE: the I used the real url in chrome and internet explorer, it is working (good files, not corrupt)

Share this post


Link to post
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

×