I've been asked to create/install some kind of simple file hosting service by a company I'm doing some freelance work for. I'm pretty sure what I'm after is already out there, but I don't know what such a thing is called, so I don't know what to search for.
The company transfers documents, at the moment by FTP or even email, but they want something more user friendly - both for their customers, and their internal staff.
They'd like to access the server via a web browser, fill in a simple form and attach a few files (just a few MB normally). The software should then produce the text of an email to send to a customer similar to below:
The software then either sends the email directly, or the user can cut and paste it and email it to the customer (they don't care which). The passwords and user names should ideally be auto-generated, and not too complex, as security isn't a major issue.
The idea is that each customer will be able to download the documents intended for them (drawings, manuals etc.) but they won't be able to see any documents or folders intended for other customers.
The automatic deletion after a couple of weeks or so would be a nice feature, but they are prepared to do that manually, if necessary.
The system doesn't need to allow customers to transfer files back to the server, though I suppose that would be a useful feature for the future.
The server is a Suse linux box that already has LAMP and is accessible via the internet at a fixed IP. The usage will be very low. Probably just one person at the company making a few files available to customers each day, and not more than a handful of customers ever connecting at the same time.
I started to write an application in PHP to do this, but I can't help thinking I'm reinventing the wheel. Suggestions please.
The company transfers documents, at the moment by FTP or even email, but they want something more user friendly - both for their customers, and their internal staff.
They'd like to access the server via a web browser, fill in a simple form and attach a few files (just a few MB normally). The software should then produce the text of an email to send to a customer similar to below:
Code:
You can download your files at this link: http://xxx.xxx.xxx.xxx
You will have to log in using username: nnnnnn, password: pppppp
The files will only be available for a period of two weeks starting today.
The software then either sends the email directly, or the user can cut and paste it and email it to the customer (they don't care which). The passwords and user names should ideally be auto-generated, and not too complex, as security isn't a major issue.
The idea is that each customer will be able to download the documents intended for them (drawings, manuals etc.) but they won't be able to see any documents or folders intended for other customers.
The automatic deletion after a couple of weeks or so would be a nice feature, but they are prepared to do that manually, if necessary.
The system doesn't need to allow customers to transfer files back to the server, though I suppose that would be a useful feature for the future.
The server is a Suse linux box that already has LAMP and is accessible via the internet at a fixed IP. The usage will be very low. Probably just one person at the company making a few files available to customers each day, and not more than a handful of customers ever connecting at the same time.
I started to write an application in PHP to do this, but I can't help thinking I'm reinventing the wheel. Suggestions please.