i am not sure where the root of the FTP server is placed.
My ordinary server root dir is in the same folder like etc dir.
This is the .conf file of my FTP daemon:
ServerName "ProFTPD"
ServerType inetd
ServerType inetd
DefaultServer on
<Global>
DefaultRoot ~ psacln
AllowOverwrite on
</Global>
DefaultTransferMode binary
UseFtpUsers on
Port 21
Umask 022
AllowForeignAddress on # Allow FXP (FTP to FTP transfers)
AllowStoreRestart on # Allow Upload Resumes
AllowRetrieveRestart on # Allow Download Resumes
MaxInstances 30
ScoreboardFile /var/run/proftpd/scoreboard
TransferLog /usr/local/psa/var/log/xferlog
<Directory /home/httpd/vhosts>
GroupOwner psacln
</Directory>
Include /etc/proftpd.include
|