hfiref0x / LightFTP

Small x86-32/x64 FTP Server
BSD 2-Clause "Simplified" License
232 stars 83 forks source link

Exit messages? #21

Closed takusuman closed 3 years ago

takusuman commented 3 years ago

How could i add a custom exit message instead of the "Goodbye!" one? Is there something undocumented on the configuration file or i need to do some hacks in the code?

hfiref0x commented 3 years ago

Go to https://github.com/hfiref0x/LightFTP/blob/a33e7a2a1ef3971cb5bacfbf97ea75aa3561ee78/Source/ftpserv.h#L175 and change it on whatever you want.

takusuman commented 3 years ago

Thanks a lot! Sorry for bothering, i should've searched in code for myself.