Monday, May 13, 2013

Re: Feed uploaded file into process

Hallo Torsten,

I'm just brainstorming about the situation, I think the best solution would be some kind of Javascript functions in the frontend part, before implementing a file upload. You can tar the file in a temporary directory, an upload that temp file with the real file's name.tar.gz

I'm not so much into JS, so sorry for not providing any sample code for this.


On Sun, May 12, 2013 at 4:53 PM, Torsten Bronger <bronger@physik.rwth-aachen.de> wrote:
Hallöchen!

I want users to upload very large tar balls to my site.  I think it
is sensful to feed them to "tar -xzf" during the upload.  Is this
possible with Django?  I think the standard way with iterating over
chunks doesn't start before the whole file has been already stored
on disk, does it?  (I don't even need the original file.)

Tschö,
Torsten.

--
Torsten Bronger    Jabber ID: torsten.bronger@jabber.rwth-aachen.de
                                  or http://bronger-jmp.appspot.com

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.





--
- Serdar Dalgıç <sd@serdardalgic.org>
FLOSS Developer, Life & Nature Hacker
twitter: https://twitter.com/serdaroncode

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate