UniUploader return

Support and feedback for UniUploader
UniUploader requires microsoft .net runtimes!

UniUploader return

Postby InsaneMind » Sat Dec 01, 2007 11:26 pm

Does UniUploader accept any return msgs from the HTTP server...

i.e. I upload a file is there a way to send a msg back to uniuploader saying success or failure?



Thanks
Insane
InsaneMind
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Nov 30, 2007 11:34 pm

UniUploader return

Postby tuigii » Sun Dec 02, 2007 12:04 am

It does.

Switch to Advanced Mode and look at the Webserver and Debugger pages ^^
The Webserver page shows what append during upload, nearly the same information what’s being showed when updating manually.
The Debugger page shows Addon synchronization information.
User avatar
tuigii
WR.net Master
WR.net Master
 
Posts: 891
Joined: Wed Dec 27, 2006 12:57 pm
Location: Somewhere in the South Ouest of France

Re: UniUploader return

Postby MattM » Sun Dec 02, 2007 3:14 am

Thanks tuigii.

There's a lot of things UU can do, check out our wiki.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UniUploader return

Postby PleegWat » Sun Dec 02, 2007 9:28 pm

Does UU respond specially to 4xx/5xx return codes from websites? A processing problem would usually be a sufficient reason to send a "500 Internal Server Error" return code.

See http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html for a list of valid return codes.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

UniUploader return

Postby InsaneMind » Sun Dec 02, 2007 10:40 pm

That's more what I was looking into PleegWat but tuiguii's suggestion works beautifully for my situation, there is a light output on my page so it's easy enough to simply read the found output.
InsaneMind
WR.net Apprentice
WR.net Apprentice
 
Posts: 6
Joined: Fri Nov 30, 2007 11:34 pm

UniUploader return

Postby MattM » Mon Dec 03, 2007 2:01 am

UU doesn't do anything special in case of a returned HTTP error code, besides log it.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UniUploader return

Postby PleegWat » Mon Dec 03, 2007 5:44 am

You probably want to pop up a dialog on anything other than 200 (maybe 2xx)
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

UniUploader return

Postby MattM » Mon Dec 03, 2007 7:25 am

I don't.

Why would it help?

Not trying to sound pompus, but I really don't see your point of view atm.

You know as well as I that the HTTP error codes wont help UU because each one could be caused by a multitude of things when dealing with diversity in web servers, configuration, etc.
Last edited by MattM on Mon Dec 03, 2007 7:27 am, edited 1 time in total.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

UniUploader return

Postby PleegWat » Mon Dec 03, 2007 2:20 pm

Not asking you to really do anything (well, possibly on 3xx redirect).

Just pop up a user alert for 4xx (user configuration error) and 5xx (server error). These cannot be handled by the user agent - they need to be handled by the user. So the user needs to know these happened.
A 4xx or 5xx also means the upload probably didn't happen.
I <3 /bin/bash
User avatar
PleegWat
WoWRoster.net Dev Team
WoWRoster.net Dev Team
 
Posts: 1636
Joined: Tue Jul 04, 2006 1:43 pm

UniUploader return

Postby MattM » Tue Dec 04, 2007 2:07 am

adding to the todo list:

optional user popup (config tick in options tab) to notify of a non 200 error code, saying "There was an error while uploading, please see the debug log for the specific error code.".
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA


Return to UniUploader

Who is online

Users browsing this forum: No registered users and 1 guest

cron