Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Problem with InetGet()

$
0
0
I'm rewriting an application that downloaded a file by calling an ASP page with this line:

[ autoit ]      

The URL brings up the IE File Download dialog, where the app clicked "Save".  The filename is already created by the .ASP page.  I need to convert this to an InetGet() statement, however this line doesn't work (triggers @error):

[ autoit ]      

This line does work though:

[ autoit ]      
$hDownload = InetGet("http://myurl/page.asp", "myfilename.xls")

The problem is, I would like to have it save with the filename that the ASP page generates (which changes every day), and which worked fine with the IECreate() line above.  

Can someone give me a hint here?  Thanks!

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>