There are working examples around. Basically get your server to report the
upload status to a javascript ui at intervals. Try searching the
djangoproject trac server - there is a link from there to a django uploader
project on google code that I have used in the past. I think it uses JQuery.

I'd search the the link myself to put it into this email but it's been a
very long day....need sleep.

J

2008/10/21 jonknee <[EMAIL PROTECTED]>

>
> On Oct 20, 7:15 pm, Sascha Brossmann <[EMAIL PROTECTED]>
> wrote:
> > > Is anyone
> > > familiar with a django or python tutorial that shows how to implement
> > > some kind of file upload progress bar?
> >
> > Sorry, but the main magic in those uploaders is done via flash, not
> > via js or php. AFAIK there is currently no sane (though you may use
> > Java ;-)) way to do it otherwise.
>
> You can do it with some JavaScript and a server-side script written in
> most languages besides PHP (though I think there is now a way with an
> extension in 5.2). Perl is commonly used in the pre-made solutions as
> it's typically available and involves little setup.
>
> Flash is most likely easier as there are lots of pre-made solutions,
> but can have some session and compatibility issues (the recent Flash
> 10 update messed up a *lot* of upload forms around the web).
>
> You could make a Django upload handler to do the progress updates, the
> docs even talk about this:
>
> http://docs.djangoproject.com/en/dev/topics/http/file-uploads/
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to