POST request for pages linked from main URL - possible?

Author Message
rand 02/12/2011 05:03 pm
Hi.

My situation is like that:

Project URL is a web page that links to multiple other web pages.

Each of that pages is protected by the password, which should be entered in a web form. I know it is possible to do with POSt= command.

But what I want to do is enter password for MAIN URL that will be used for OTHER linked URLs linked from the MAIN URL.

Is it possible?

Thanks.
Oleg Chernavin 02/13/2011 09:29 am
Well, maybe do it this way - collect all links from that page and paste them all in the Project's URLs field. And add the POSt= command:

http://www.server.com/url1
http://www.server.com/url2
http://www.server.com/url3
http://www.server.com/url4
POST=password=aaaaa

To collect the URLs, start the download and press F9 immediately. Switch to the Queue tab, select all URLs (Ctrl+A), right-click them and copy URL to clipboard.

Best regards,
Oleg Chernavin
MP Staff
rand 02/14/2011 10:05 am
Thanks,

But the problem is that the site I trying to mirror periodically reasks the password, so after downloading some links, other links are not downloaded because password is reasked by site, and Offline Explorer Enterprise does not re-sends the POST request with the password.

Maybe there is some workaround for that?

By the way, the site does not uses cookies - it seems authentication is handled with http sessions.




And one more question: Is it possible to enter multiple URLs for single project, and have files retrieved by following from each URL put in separate folder? i.e.:

http://example.com/links1.html
PathToSave=C:\1
http://example.com/links2.html
PathToSave=C:\2


Thanks.
Oleg Chernavin 02/14/2011 11:48 am
1. Actually, the only way is to stop the download and continue it. You could use Content Filters for that - when the authentication phrase appears in web pages, do not save them and stop the download.

Then logon again and use Download Missing Files to get the rest pages.

2. No, you should separate them to different Projects.

Oleg.
rand 02/14/2011 02:16 pm
1. Using Content Filters does not works because initial page with password form has the same text as pages reasking for password - this makes OE stop at the initial page.

2. Is using Additional=AutoExport command the only way to do that?
Oleg Chernavin 02/14/2011 02:53 pm
1. I see.

2. Yes, it will copy to different folders. But do not specify two Additional=AutoExport commands for 1 project - one of them will be simply ignored.

Oleg.