You might want to look at proftpd, it's been a while since I looked at it. I don't think there is a general purpose way of doing this that will work with all and any ftp server. -james