Yodel!

[frankentux, thanks for your examples, too.]

On Friday 08 May 2009 11.11:08 Diez B. Roggisch wrote:

> http://wiki.pylonshq.com/display/pylonsdocs/Form+Handling
>
> Don't forget that TG2 is a layer upon Pylons, so while file-handling is
> certainly to be covered in TG2 docs eventually, there will always be bits
> and pieces that you need to look up on the 3rd-party-libraries docs.

Well, yes, I keep forgetting this.  Ok, I see there's docs in pylon's 
documentation on how to handle file uploads in $pylons-docs/forms.html 
(locally compiled copy)

Hmmm.  Instead of cpoying the temp file with copyfileobj, is there no 
possibility of moving/linking it to the final destination?  request -> 
memory -> disk -> memory -> disk is extremely silly and hard on the poor 
RAID.  (This is without research, I'll look into what python/pylons offers 
later.)

(... and generally, I have the feeling that it is assumed that somebody 
starting with tg better had some idea what pylons does.  Well, I don't, and 
I how am I supposed to know when is it ok to "fall back" to just using 
pylons stuff and when am I supposed to use tg specific stuff?)

That said: the support on this list is awesome.  Thanks folks!


cheers
-- vbi

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to