[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Qube3 FTP secure drop box set up



I occasionally help a friend with his Qube3. He needs to set up FTP for a
few clients of his [no control of client's ftp software] that send 50-100Mb
files several times a month. It was suggested to make it a blind drop box
[no read permissions] with a valid user name and password [no anonymous
ftp]. Upon completion of upload, he would also like the file to be
automatically be moved to the graphics user's folder so the graphics files
can be downloaded via ftp and worked on. After the file has been moved, both
users [graphics and the client] need to be notified via e-mail of the
receipt of the file with file name, size and timestamp.

With this in mind, turning on FTP in the Admin panel, creating the accounts,
changing the user's shell to blank or /dev/null, chmod 300 home/user/client1
[client2...] folder. The file movement would need to be either a cron job
for a script [to ensure the file has been completely uploaded before moving]
or based on the user closing the FTP connection. The script would then read
the variables and put them into an e-mail with the required info,  then move
the file to /home/users/graphics for ftp download, then send the email to
the appropriate client [client1, client2...] and to the graphics user as
well.

Is this plan the right way to go, or is there a easier, more direct route?