Validating Upload Size

2 views
Skip to first unread message

corywilkerson

unread,
Nov 10, 2009, 12:15:11 PM11/10/09
to Panda
Panda Folk,

1. Thanks for building PandaStream. I'm currently implementing it on a
niche video-sharing site that should relaunch by end of year.

2. Before I go digging in the bowels of my AMI - can anyone here
comment on whether or not I can set some filtering in the video upload
process to prevent folk from attempting to upload 1GB files? Happy to
go hacking if I need to, just assumed this had likely already been
addressed and I didn't want to reinvent the wheel.

Thanks!
Cory Wilkerson

Андрей Щеглов

unread,
Nov 10, 2009, 1:27:09 PM11/10/09
to panda...@googlegroups.com
Usually, this is done with Flash uploaders on client side - not the server-side job.

Thanks,
windock

2009/11/10 corywilkerson <coryjwi...@gmail.com>

Cory Wilkerson

unread,
Nov 10, 2009, 1:32:52 PM11/10/09
to panda...@googlegroups.com
That makes total sense although it would be nice to cut if off at the pass in Apache based on content headers...

Damien Tanner

unread,
Nov 12, 2009, 11:44:24 AM11/12/09
to panda...@googlegroups.com
Certainly with nginx you can set the max content size, I'm sure apache has a similar option.

Kind Regards,
Damien Tanner
Co-Founder and Director, New Bamboo & Panda

Creating fresh, flexible and fast-growing web applications is our passion.

3rd Floor, Gensurco House, 46A Rosebery Avenue, London, EC1R 4RP

+44 (0)78 6312 7999
+44 (0)20 7099 7486
http://www.new-bamboo.co.uk
http://www.pandastream.com

Cory Wilkerson

unread,
Nov 12, 2009, 11:52:26 AM11/12/09
to panda...@googlegroups.com
Thanks Damien - I'll dig into nginx config.

Cory Wilkerson

unread,
Nov 12, 2009, 12:13:58 PM11/12/09
to panda...@googlegroups.com
In the interest of letting others know....



On Nov 12, 2009, at 10:44 AM, Damien Tanner wrote:

Cory Wilkerson

unread,
Nov 12, 2009, 12:26:13 PM11/12/09
to panda...@googlegroups.com
In fact, it's already set in the default Panda AMI...client_max_body_size 500m;


On Nov 12, 2009, at 10:44 AM, Damien Tanner wrote:

Reply all
Reply to author
Forward
0 new messages