[Twisted-web] file upload with twisted

Glyph glyph at twistedmatrix.com
Fri Jan 4 23:14:51 EST 2013


On Jan 4, 2013, at 5:50 PM, Levi Nie <levinie001 at gmail.com> wrote:

> When i send a http request with a big file, can i check the content-length then enable or disable the
> file upload?
> 
> I use the s3cmd client sent the request. And i need disable the file upload if the file size is over the quota.
> 
> how can i do this?

This s3cmd? https://github.com/s3tools/s3cmd/blob/master/s3cmd

It doesn't look like it uses Twisted, so I don't think this is a question for this list.




More information about the Twisted-web mailing list