Sign in to follow this  
Followers 0
AutoProgramming

2 Questions: .htaccess & Upload Form

6 posts in this topic

#1 ·  Posted (edited)

Hello,

I have got two problems with the IE.au3. When I try following URL:

http://user:pwd@mysite.org/

The Internet Explorer (-.-) tells me that he can't find that url. In Firefox it works just fine... Anyone got a solution for me? I am using _IENavigate($oIE, "http://user:pwd@mysite.org/")

Second problem: When I try to write a String into an upload form, it says that that action is not allowed. Is there a possibility to do this anyhow?

If there is no way using form upload - http-query post possible?

- Greez

Edited by AutoProgramming

[u]My OpenSource Projects:[/u]- [BEEP] proMusiX- Search autorun.inf

Share this post


Link to post
Share on other sites



http://user:pwd@mysite.org/

The Internet Explorer (-.-) tells me that he can't find that url. In Firefox it works just fine... Anyone got a solution for me? I am using _IENavigate($oIE, "http://user:pwd@mysite.org/")

http://support.microsoft.com/kb/834489 ?

Second problem: When I try to write a String into an upload form, it says that that action is not allowed. Is there a possibility to do this anyhow?

If there is no way using form upload - http-query post possible?

Contextual, can you post the code and the link or the html to the page you're trying to do it on.

Share this post


Link to post
Share on other sites

Okey, thank you. Now how can i set the following inet options using autoit:

INTERNET_OPTION_USERNAME

INTERNET_OPTION_PASSWORD

?

Contextual, can you post the code and the link or the html to the page you're trying to do it on.

It is just a form like this:

<form method="post" enctype="multipart/form-data" action="index.php">

<p><label for="file">Datei :</label><input type="file" id="file" name="file" size="50" /><input id="upload" type="submit" value="Upload" class="button" /></p>

</form>


[u]My OpenSource Projects:[/u]- [BEEP] proMusiX- Search autorun.inf

Share this post


Link to post
Share on other sites

Are you using simple Send() commands or are you using _IEFormElementSetValue()? (Or somthing else?)

Share this post


Link to post
Share on other sites

Per the referenced article, INTERNET_OPTION_USERNAME and INTERNET_OPTION_PASSWORD are specific to WinInet and URLMon, not to Internet Explorer. You'll need to use the registry settings referenced there.

Regarding your second question, please see the helpfile for _IEFormElementSetValue -- read the remarks and look at the examples that deal with this directly.

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

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
Sign in to follow this  
Followers 0