LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Want to display banner on all FTP screens (https://www.linuxquestions.org/questions/linux-server-73/want-to-display-banner-on-all-ftp-screens-559994/)

jakev383 06-07-2007 02:28 PM

Want to display banner on all FTP screens
 
Okay, I'm currently running ProFTPd. I've seen other FTP sites do this, and want to do it with mine as well. I'm willing to switch to vsftpd or whatever to achieve it.....
Anyway, when is on the FTP, I want to display a message at the top or bottom of the dir listing (they all use IE or Firefox to do FTP stuff) that tells them files older than 72 hours will be deleted. That's all. I tried:
DisplayLogin login.msg
DisplayFirstChdir login.msg

But nothing shows in FF (didn't try IE).
Can anyone offer a suggestion? I'll just touch a file with the message if I have to.... ("touch All files will be deleted after 72 hours", ex.)

Thanks.

wjevans_7d1@yahoo.co 06-09-2007 08:04 PM

I haven't actually tried this, but have you seen these?

Code:

http://www.proftpd.org/docs/directives/linked/by-name.html
http://www.proftpd.org/docs/directives/linked/config_ref_DisplayChdir.html

Hope this gives you what you want.

sandgroper 06-12-2007 12:20 PM

I am not sure about ProFTPd , but in vsftpd you use the banner_file statement in the vsftpd.conf file and point it to a text file.

Eg
banner_file=/etc/vsftpd/welcome.message

.


All times are GMT -5. The time now is 02:26 AM.