Quote:
Originally Posted by ftenario
Hello,
I installed proftpd server on debian. I have an existing custom application that connects to a previous ftp server. When this application connects, it changed directory to something like, "~/my_dir". How do I setup proftpd to do something like this?
Right now, the application returns an error saying "~/my_dir" does not exists" when connecting to the new proftpd server.
thanks for any help,
ferdinand
|
You should set "jail" where you force ftp user on every login.
I simply user the home directory, but you can force default directory somehow like this:
DefaultRoot /path/to/dir group1,group2
So if would it work if you make something like this:
DefaultRoot ~/my_dir