Drupal and nginx upload module

Events happening in the community are now at Drupal community events on www.drupal.org.
stodg's picture

I've been looking at using the upload module with drupal but I have not found any module that uses it, I've found modules that support upload_progress (FileFieldNginx), but when using it the upload is still processed directly by PHP.

Is there a module around that I'm not aware of?

If it does not exist, is that because it makes no sense or because nobody worked on it?

My idea was that leaving the upload process to nginx should be more efficient than using a PHP script to do it, but maybe there are some drawbacks I'm not aware of.

Thanks in advance for any answers.

Comments

Is this perhaps

bhosmer's picture

Is this perhaps needed:

http://wiki.nginx.org/HttpUploadProgressModule

I've seen mention of it, but haven't actually used it myself.

No, that module is used to be

stodg's picture

No, that module is used to be able to ask nginx about upload file progress and get the information in JSON format and we already use it with the drupal module I mentioned on my original post (FileFieldNginx), but that is only used to show the upload progress using JavaScript but the file upload is still handled by a PHP script.

I am asking about the upload module, which is a nginx module that makes the server take care of file uploads directly and once the file is saved on the server passes the HTTP request to a script replacing the file body by fields that can be used to manipulate the already dowloaded file (the fields can contain values like the original field name, the file content type, the original file name or the path where the file has been stored on the server).

Nginx

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: