I need a custom upload script that will allow my users to upload a file to my server. This should be done from an .html form. The user should be able to enter a directory in a form field. The directory will then be created and the file uploaded to this directory. I need the ability to get a file list, limit upload file size and file types, and the ability to delete files (also from a form).
There are scripts out there that do this, but they are copyrighted, etc. I want free use of the script so that I can make modifications, use it commercially, etc.
Finally, I need this script to run on both on Unix and Windows hosts. (Very important.)