>> Does anyone used successfully this tutorial? >> >> http://docs.turbogears.org/1.0/FileUploadProgressBar >> >> >> I'm finding some issue... >> >> the make_file put correclty the progressbar in cherrypy.FilesStorage >> but when ajax go to retriev values in get_upload_stats, >> cherrypy.file_transfers is always empty... >> >> any ideas are apreciated. >> > > Well.. after some inspections i found the problem.... > my application run behind NGINX.... > > probably i must work on the WSGI config... > any ideas?
My only recommendation is not using this feature. I admit, it's tempting to do something like this, I've tried it myself too, but since there exist no robust solution it's better to just not do it. What you can do instead, something that is robust and just as good, is displaying an animated image, progress bar, a spinning wheel, or something like that, and whenever the upload is complete stop displaying this image. The user experience is the same. True, you don't get real stats like exactly at what percentage the upload is at, but based on my experience this info is almost irrelevant to the user. All what they want to see is a reassurance that something is happening and they should wait and not click anywhere. And an animated image serves this purpose very well. Cheers, Daniel -- Psss, psss, put it down! - http://www.cafepress.com/putitdown --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "TurboGears" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/turbogears?hl=en -~----------~----~----~----~------~----~------~--~---

