29 messages in ru.sysoev.nginxHTTP PUT for file uploads
FromSent OnAttachments
mikeJul 31, 2008 4:47 pm 
Phillip B OldhamAug 1, 2008 5:10 am 
MichaelAug 1, 2008 7:05 am 
Phillip B OldhamAug 1, 2008 7:16 am 
MichaelAug 1, 2008 7:51 am 
Mike MikeAug 2, 2008 4:15 am 
MichaelAug 2, 2008 6:49 am 
mikeAug 2, 2008 11:07 am 
mikeAug 2, 2008 11:12 am 
mikeAug 2, 2008 11:43 am 
MichaelAug 2, 2008 12:59 pm 
mikeAug 2, 2008 1:14 pm 
Phillip B OldhamAug 4, 2008 1:30 am 
mikeAug 4, 2008 1:38 am 
MichaelAug 4, 2008 4:54 am 
mikeAug 4, 2008 9:51 am 
Brian MoranSep 5, 2008 11:33 pm 
mikeSep 5, 2008 11:48 pm 
Valery KholodkovSep 6, 2008 4:44 am 
Kon WilmsSep 6, 2008 8:35 am 
mikeSep 6, 2008 2:14 pm 
mikeSep 6, 2008 2:16 pm 
mikeSep 8, 2008 2:12 pm 
Grzegorz NosekSep 9, 2008 12:43 am 
mikeSep 9, 2008 1:19 am 
Phillip B OldhamSep 9, 2008 1:37 am 
mikeSep 9, 2008 2:26 am 
Kon WilmsSep 9, 2008 8:31 am 
mikeSep 9, 2008 12:41 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:HTTP PUT for file uploadsActions...
From:mike (mike@public.gmane.org)
Date:Jul 31, 2008 4:47:57 pm
List:ru.sysoev.nginx

It appears that nginx has built-in support for the PUT method.

My company needs a file upload solution that will support large file uploads (2GB limit is optional - if we have to tell them less than 2GB that's fine) that will keep re-trying the upload until it is done. We have slow geo users and then just flat out large files to deal with even from fast connections.

There's a variety of Java-based PUT uploaders.

So far, we haven't found any Flash ones (we'd love to NOT use Java) - but there is a way to do it apparently, we just can't find anyone who's done it yet.

Anyway, from the nginx side, I assume I would need to have some timeouts set pretty long. Would anyone here have any ideas about that?

I'm assuming that we should keep the connection open as long as there is some activity and maybe timeout after a minute or two... the client-side applet should have the logic to continue retrying and since it is PUT, the PHP script will accept the data and use fseek() on the file to resume at the offset supplied (the client will have to give us that info)

See the examples here: http://www.radinks.com/upload/examples/ - look at the "Handlers that support resume" section.

Anyone have any thoughts? I think I also need to tweak PHP settings too possibly as well, for max execution time and such.