I have a vsftpd instance running on my Ubuntu Server. I need to show a banner when users change into a specific directory ie:

ftp> cd /cars
>>> These cars are for lease

Is there any way to do this? I know how to set banners for the whole server, but not sure how to do it for a single directory?

1 Answer 1


I found the solution, using the dirmessage_enabled directive, which reads a .message file from the directory you change into.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .