Aug 19, 2011
tom

Best Practice: Apache File Upload

Question

I am looking for a soultion for trusted users to upload pdf files via html forms (with maybe php involved). This is quite a standard ubuntu linux server with apache 2.x and php 5.

I am wonderiung what are the benefits of the apache file upload module. There were no updates for some time, is it actively maintained? What are the advantages over traditional php upload with apache 2 without this module?

http://commons.apache.org/fileupload

I remember traditional php file upload is difficult with some pitfalls, will the apache file upload module improve the situation?

The solution I am looking for will be part of an existing website and be integrated into the admin web frontend. Things I am not considering are webdav, ssh, ftp, ftps, ftp over ssh. Should work with a browser and without installing special client software, so I am asking about a browser based upload without special client side requirements. I can request a modern browser like firefox >= 3.5 or modern webkit broser like chrome or safari from the users.

Answer

It seems that you want to use PHP. The software you mentioned is Java. So I don’t think it is what you want.

Maybe have a look here:
http://www.hotscripts.com/category/php/scripts-programs/file-manipulation/upload-systems/

Beware: commercial license also listed.

Related posts:

  1. How can I do a large file upload using Sinatra, haml, nginx, and passenger?
  2. Unable to upload file FTP
  3. post file uploads in apache webserver w/ PHP, sometimes it works, sometimes it doesn’t
  4. PHP Image upload folder
  5. Directory and files stuck on server after upload

Leave a comment