How to stop downloading a site when a special status code is returned

Author Message
Chris 05/05/2013 09:03 am
Hi there,

I'd like to stop a download in OEP when I get a status code i.e. like "0 Unknown", "401 Unauthorized" and/or "404 Not Found".

How can I do that?

Thanks for your answer,
Chris
Oleg Chernavin 05/06/2013 04:53 am
You may do this only for 401 code - Project Properties dialog - Passwords - Stop download if site is protected.

Best regards,
Oleg Chernavin
MP Staff
Chris 05/07/2013 06:58 am
Thanks for your answer, Oleg.

I knew that it is possible for protected sites, but I hoped it would work with other status codes too in any way.

Would it be very complicated to add this feature to OEP (i.e. as a new "Additional" command or something else that's more simple to implement for you)?

Chris
Oleg Chernavin 05/10/2013 03:00 pm
OK. Here is the updated oe.exe version that supports URLs field command:

StopOnHTTPStatus=401,403,500

http://www.metaproducts.com/download/betas/OEP3940.zip

Oleg.