• Quick note - the problem with Youtube videos not embedding on the forum appears to have been fixed, thanks to ZiprHead. If you do still see problems let me know.

Help please! Linux server advice

ceptimus

puzzler
Joined
May 20, 2003
Messages
6,464
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:

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. :)
 
What you're looking for is a DMS. (Don't you just love TLAs?)

There are several open-source DMSs based on PHP, you could try searching sourceforge.net. Here are a few of them:
http://owl.sourceforge.net
http://sourceforge.net/projects/opendocman/
http://sourceforge.net/projects/epiware/
http://sourceforge.net/projects/mydms/
http://sourceforge.net/projects/docmgr/
http://sourceforge.net/projects/pddms/

I don't know whether any of them have the exact set of features that you need, but it probably isn't too much work to add the missing features if you can hack PHP.
The passwords and user names should ideally be auto-generated
Will you be generating a new user name for each notification, or once per customer? If it's the former, you could just as well skip user names entirely and just use a password, since the user name will just be simple a second password. If it's the latter, you might consider using their email address as username instead.
 
Thanks guys! Those suggestions are very helpful.


_geek__by_E_motive.gif
 
Last edited:

Back
Top Bottom