I got this working with SWFUpload. I shall upload a test app which does this
and update this thread.
In the meantime, if you want some quick help, then let me know. or can refer
to : http://github.com/naltimari/django-swfupload-samples

-V-
http://twitter.com/venkasub


On Fri, Jun 4, 2010 at 4:41 PM, Venkatraman S <[email protected]> wrote:

> Anyone who wants to work on this problem with me? We can probably
> collaborate and release it over this weekend.
>
>
>
> On Fri, Jun 4, 2010 at 3:16 AM, Brad Pitcher <[email protected]>wrote:
>
>> Some versions of flash have a bug that causes the entire browser to
>> freeze while uploading.  I am afflicted by the bug, running Flash 10.0
>> r45 on Ubuntu 10.04.  It seems that there is no good solution at the
>> moment.  My host is Webfaction and I just discovered that they have a
>> non-configurable nginx server in front of everything that caches
>> uploads before sending them on to apache/django making it impossible
>> to do upload progress bars at the moment.  They are aware of the
>> problem, but who knows when it will be fixed.
>>
>> On Jun 3, 8:31 am, Venkatraman S <[email protected]> wrote:
>> > Oh yes! I was referring to a stand alone app. I heard someone complain
>> > #django that filebrowser aint working right after uploadify was
>> introduced.
>> > Is that True?
>> >
>> > On Thu, Jun 3, 2010 at 8:11 PM, patrickk <[email protected]> wrote:
>> > >http://code.google.com/p/django-filebrowser/
>> >
>> > > cheers,
>> > > patrick
>> >
>> > > On 3 Jun., 16:10, Venkatraman S <[email protected]> wrote:
>> > > > Hi Patrick,
>> >
>> > > > Can you share a simple django app which uses Uploadify?  Did you use
>> > > vanilla
>> > > > Uploadify or 
>> > > > django-uploadify(github.com/tstone/django-uploadify*)*<http://github.com/tstone/django-uploadify*%29*>
>> <http://github.com/tstone/django-uploadify*%29*>
>> > > ?
>> > > > I have been simply unable to make it run.  I also tried a
>> > > django-uploadify,
>> > > > but no results! Frustrating it is.
>> >
>> > > > If you can share the code, i would rather use it along with some
>> other
>> > > > experiments that I have been doing and publish it in the public
>> domain.
>> >
>> > > > Regards.
>> >
>> > > > On Thu, Jun 3, 2010 at 5:39 PM, patrickk <[email protected]>
>> wrote:
>> > > > > you could use uploadify, seehttp://www.uploadify.com/.
>> >
>> > > > > of course, it´s not an ideal solution since its flash-based.
>> > > > > we´ve been using uploadify with django and the filebrowser for
>> about a
>> > > > > year now and it works quite well.
>> >
>> > > > > regards,
>> > > > > patrick
>> >
>> > > > > On 3 Jun., 06:32, Venkatraman S <[email protected]> wrote:
>> > > > > > Tell me about it! Its quite insane that there is no
>> single-standard
>> > > > > solution
>> > > > > > for this.
>> > > > > > I have been hanging around in #django for sometime and there is
>> still
>> > > > > > opposition to flash based solution. Also, i have not been to get
>> it
>> > > > > working
>> > > > > > inspite of it being not an ideal solution.
>> > > > > > I hear that there are some issues with filebrowser since it uses
>> > > > > Uploadify.
>> > > > > > Also, i dont see any solution which works in both dev server and
>> also
>> > > in
>> > > > > the
>> > > > > > production using httpd/apache.
>> >
>> > > > > > Going insane! Let me know if you get anything working.
>> >
>> > > > > > PS: As i said, html5 is cool and works, but the client does not
>> want
>> > > to
>> > > > > use
>> > > > > > it!
>> >
>> > > > > > -V-http://twitter.com/venkasub
>> >
>> > > > > > On Thu, Jun 3, 2010 at 9:54 AM, Brad Pitcher <
>> [email protected]>
>> > > > > wrote:
>> > > > > > > Sort of, that's what the default is in the demo, but now I've
>> > > noticed I
>> > > > > > > have the same problem with apache progress reporting as I did
>> using
>> > > > > django
>> > > > > > > progress reporting.  It's behaving like it's not
>> multi-threaded or
>> > > > > > > something.  It seems like I don't get any progress reports
>> until
>> > > the
>> > > > > file
>> > > > > > > has finished uploading.  It's actually driving me a bit crazy
>> so
>> > > I'm
>> > > > > going
>> > > > > > > to have to move on to something else for a while.
>> >
>> > > > > > > On Wed, Jun 2, 2010 at 9:16 PM, Venkatraman S <
>> [email protected]>
>> > > > > wrote:
>> >
>> > > > > > >> Does this work with the Django development server?
>> >
>> > > > > > >> On Thu, Jun 3, 2010 at 8:13 AM, Brad Pitcher <
>> > > [email protected]
>> > > > > >wrote:
>> >
>> > > > > > >>> Since I just spent much longer than it should have taken
>> figuring
>> > > > > this
>> > > > > > >>> out, I will try and help you out.  I followed the
>> instructions at
>> > > the
>> > > > > > >>> provided link and it sort of worked.  Not quite as well as I
>> > > liked.
>> > > > >  I
>> > > > > > >>> used Apache for the progress reporting, which the author
>> doesn't
>> > > > > > >>> mention in the article but it is discussed here:
>> >
>> > > > >
>> http://piotrsarnacki.com/2008/06/18/upload-progress-bar-with-mod_pass.
>> > > ..
>> > > > > > >>> (it involves compiling and installing an apache module).
>> > > > > > >>> The author also doesn't mention changes needed in
>> settings.py:
>> > > > > > >>> from django.conf import global_settings
>> >
>> > > > > > >>> FILE_UPLOAD_HANDLERS =
>> ('path.to.UploadProgressCachedHandler', )
>> > > +
>> > > > > > >>> \    <-- change path here
>> > > > > > >>>    global_settings.FILE_UPLOAD_HANDLERS
>> >
>> > > > > > >>> If you are using nginx or apache for the server side instead
>> of
>> > > > > > >>> django, you will need to modify progressUrl to point to
>> whatever
>> > > url
>> > > > > > >>> you set up for accessing progress reports.
>> >
>> > > > > > >>> If you are looking for a demo, there is one linked in the
>> article
>> > > > > > >>> creecode posted.
>> > > > > > >>> -Brad
>> >
>> > > > > > >>> On May 30, 12:23 pm, Venkatraman S <[email protected]>
>> wrote:
>> > > > > > >>> > HI creecode,
>> >
>> > > > > > >>> > Can you share the project please? I can probably work on
>> it and
>> > > see
>> > > > > > >>> what is
>> > > > > > >>> > happening.
>> > > > > > >>> > Till now, i havent even been able to get this working.
>> >
>> > > > > > >>> > -V
>> >
>> > > > > > >>> > On Sun, May 30, 2010 at 10:45 PM, creecode <
>> [email protected]
>> >
>> > > > > wrote:
>> > > > > > >>> > > Hello V,
>> >
>> > > > > > >>> > > On May 29, 11:00 pm, Venkatraman S <[email protected]>
>> > > wrote:
>> >
>> > > > > > >>> > > > I have been trying to build a simple file upload with
>> > > progress
>> > > > > bar.
>> >
>> > > > > > >>> > > AFAIK there isn't a simple solution.  Perhaps this info
>> <
>> >
>> > > > >
>> http://www.fairviewcomputing.com/blog/2008/10/21/ajax-upload-progress.
>> > > ..
>> > > > > > >>> > > > will point you in the right direction.
>> >
>> > > > > > >>> > > I've experimented with a solution based tthe above but I
>> > > wasn't
>> > > > > > >>> > > entirely satisfied with my implementation.  I'm having a
>> > > problem
>> > > > > with
>> > > > > > >>> > > the progress bar not reaching 100% many times and some
>> > > problems
>> > > > > with
>> > > > > > >>> > > the percentage complete number.
>> >
>> > > > > > >>> > > I've put my project on the back burner for now but if
>> anyone
>> > > has
>> > > > > any
>> > > > > > >>> > > examples they'd like to share I'd be interested in
>> seeing
>> > > them.
>> >
>> > > > > > >>> > > Toodle-looooooooooo...........
>> > > > > > >>> > > creecode
>> >
>> > > > > > >>> > > --
>> > > > > > >>> > > You received this message because you are subscribed to
>> the
>> > > > > Google
>> > > > > > >>> Groups
>> > > > > > >>> > > "Django users" group.
>> > > > > > >>> > > To post to this group, send email to
>> > > > > [email protected].
>> > > > > > >>> > > To unsubscribe from this group, send email to
>> > > > > > >>> > > [email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > > >>> <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > > >>> > > .
>> > > > > > >>> > > For more options, visit this group at
>> > > > > > >>> > >http://groups.google.com/group/django-users?hl=en.
>> >
>> > > > > > >>> --
>> > > > > > >>> You received this message because you are subscribed to the
>> > > Google
>> > > > > Groups
>> > > > > > >>> "Django users" group.
>> > > > > > >>> To post to this group, send email to
>> > > [email protected].
>> > > > > > >>> To unsubscribe from this group, send email to
>> > > > > > >>> [email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > > >>> .
>> > > > > > >>> For more options, visit this group at
>> > > > > > >>>http://groups.google.com/group/django-users?hl=en.
>> >
>> > > > > > >>  --
>> > > > > > >> You received this message because you are subscribed to the
>> Google
>> > > > > Groups
>> > > > > > >> "Django users" group.
>> > > > > > >> To post to this group, send email to
>> > > [email protected].
>> > > > > > >> To unsubscribe from this group, send email to
>> > > > > > >> [email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > > >> .
>> > > > > > >> For more options, visit this group at
>> > > > > > >>http://groups.google.com/group/django-users?hl=en.
>> >
>> > > > > > >  --
>> > > > > > > You received this message because you are subscribed to the
>> Google
>> > > > > Groups
>> > > > > > > "Django users" group.
>> > > > > > > To post to this group, send email to
>> [email protected]
>> > > .
>> > > > > > > To unsubscribe from this group, send email to
>> > > > > > > [email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > > > .
>> > > > > > > For more options, visit this group at
>> > > > > > >http://groups.google.com/group/django-users?hl=en.
>> >
>> > > > > --
>> > > > > You received this message because you are subscribed to the Google
>> > > Groups
>> > > > > "Django users" group.
>> > > > > To post to this group, send email to
>> [email protected].
>> > > > > To unsubscribe from this group, send email to
>> > > > > [email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> > > <django-users%[email protected]<django-users%[email protected]>
>> <django-users%[email protected]<django-users%[email protected]>
>> >
>> >
>> > > > > .
>> > > > > For more options, visit this group at
>> > > > >http://groups.google.com/group/django-users?hl=en.
>> >
>> > > --
>> > > You received this message because you are subscribed to the Google
>> Groups
>> > > "Django users" group.
>> > > To post to this group, send email to
>> >
>> > ...
>> >
>> > read more »
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<django-users%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" 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/django-users?hl=en.

Reply via email to