Log all uploaded files with ProFTP
Posted on 2006-05-31
I am looking for a way to log the filenames of all files uploaded to our RH8 server through the ProFTP service.
The situation is :
We are using the Proftp server as a middleman to transfer files between two businesses. Software at Business A uploads the files to the server, and other software at Business B downloads the files for processing. Business A knows which files they have uploaded, but if Business B fails to download one of the files for whatever reason, then we need some kind of proof that the file was indeed uploaded bu Business A and was in the FTP directory.
At the moment i can see when the user opens and closes a session, but not what files they have uploaded to the server. Is this something that Proftp can be configured to do, log the filenames that have been uploaded, or will i need a linux script/additional software that will constantly check the FTP directory for changes. I was thinking of piping the result of the ls command to a file, and checking this for changes every couple of minutes, but it would be nice it there was another way of doing this.
Any suggestions would be greatly appreciated.