Sypher Posted March 21, 2007 Share Posted March 21, 2007 Hey, My current project is a very special file downloader. It searches a forum for data i put in an array, and loads the topic. After that it searches the attachment, and from there i'm stuck! Because: The forum requires a login. Using _IE*** functions, i logged myself into the forum but i cannot download the file with InetGet. I really need to download it with Internet Explorer, and i don't want to resort to manipulating the "File Download" prompt from IE. So, does anyone have a suggestion how to handle this? I'd really appreciate your input! Thanks! Link to comment Share on other sites More sharing options...
DaleHohm Posted March 21, 2007 Share Posted March 21, 2007 Due to security restrictions, IE does not allow automated file downloads through script. You'll need to manipulate the file dialog with SEND or ControlSend commands. Dale Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model Automate input type=file (Related) Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded Better Better? IE.au3 issues with Vista - Workarounds SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead? Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble Link to comment Share on other sites More sharing options...
Sypher Posted March 21, 2007 Author Share Posted March 21, 2007 (edited) Thanks for your swift response! Damn... Isn't it possible to alter these restrictions? Edited March 21, 2007 by Sypher Link to comment Share on other sites More sharing options...
Vindicator209 Posted March 21, 2007 Share Posted March 21, 2007 of course! just not legally... [center]"When you look at old, classic games like Snake, you often put it off because it's such a simple game, but it's only when you actually try and create your own unique game from scratch, do you finally appreciate those games."[/center][center]Don't ask for answers if you haven't TRIED yet![/center][center]Most answers can be answered in the help file! Use it![/center] Link to comment Share on other sites More sharing options...
Sypher Posted March 22, 2007 Author Share Posted March 22, 2007 Well i'm running it on my own pc, where i have administrator rights. So, it's fully legal 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