Jump to content

Recommended Posts

Posted

I tried using inetget() to download a file from a url that "If logged into" I should be presented with a typical file download dialog box. but instead of getting presented with the file I am expecting "file.zip" I get "index.php".

using some samples from help and other posts on this forum I am able to automate the loging into the webpage via autoit but I dont think Inetget() is trying to download the resulted output of the phpscript, but instead the main script itsself. Hope that makes sense.

Is there a better function to use when trying to download a files this way?

Thanks,

GoogleDude

Posted

I would agree with you. But is there anyway around it? I just found WinHTTP. Not sure if that will help or not?

I can get the correct file if I use ShellExecuteWait() with the full url. but then I have to manually/scriptomaticly automate the mouse clicks which I was trying to avoid.

Thanks,

GoogleDude

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
×
×
  • Create New...