3 messages in ru.sysoev.nginxRe: upload module "upload store" ques...
FromSent OnAttachments
nginx.mailinglistDec 21, 2008 12:42 pm 
Valery KholodkovDec 21, 2008 1:03 pm 
nginx.mailinglistDec 21, 2008 1:10 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:Re: upload module "upload store" questionActions...
From:Valery Kholodkov (vale@grid.net.ru)
Date:Dec 21, 2008 1:03:09 pm
List:ru.sysoev.nginx

You missed that the number of characters in buckets is optional:

http://www.grid.net.ru/nginx/upload.en.html#upload_store

The manual says "The directory could be hashed". According to my English skills "could" means, though possible, must not necessarily be.

In your case:

upload_store "/hdd1/_uploads";

should suffice for what you want to have.

nginx.mailinglist wrote:

So i got upload module and upload progress module working after alot of sweat over the progress module configuration

anyways just have a question about this directive "upload_store" i have in the conf file

upload_store "/hdd1/_uploads" 1;

i had to create 10 directories 0-9 in the above, is this really needed? possible for the temp directory just to be a single one? that would certainly reduce on the work required on some post upload tasks

just wondering in case i missed something

Regards