Log all uploaded files with ProFTP

Hi All

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.
nramskillAsked:
Who is Participating?
 
slyongCommented:
btw, if you want, you can also make the TransferLog to a separate file using

TransferLong /var/log/proftpd.transfer
0
 
slyongCommented:
You can change the LogFormat directive in Proftpd configuration file.  Add %f or %F (%f for absolute path+filename, %F is the relative path+filename)

LogFormat default "%h %l %u %t \"%r\" %s %b %F"
0
 
nramskillAuthor Commented:
Okay, thanks for that, let me give it a try....
0
 
nramskillAuthor Commented:
Thank you very much slyong.  That is working perfectly
0
 
slyongCommented:
You are welcome.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.