I have had ProFTP 1.3.2 and configured it to run for the same user on different ports with different root directories. Basically, the configuration was:
<VirtualHost ftp.domain.tld>
Port 1
AuthAliasOnly on
UserAlias xxx yyy
DefaultRoot /var/ftp/subdir
</VirtualHost>
<VirtualHost ftp.domain.tld>
Port 2
AuthAliasOnly on
UserAlias xxx yyy
DefaultRoot /var/ftp/subdir/uploads_weather/
</VirtualHost>
I did this because of a limitation of my weather station, which cannot save data into a subdirectory.
I have now installed a new server (Debian Stretch) and it has ProFTP 1.3.5b, but the above configuration does not seem to work any longer. When I log in on port 2, I see the same contents as I do on port 1.
I'd like to avoid having too many different user names. Is it still possible to have a per-port configuration?