Thread: PRoFTPD Virtual Directories
can me please! :s
using filezilla on windows, using proftpd on ubuntu.
want anonymous ftp few directories added.
so, configured via gui... nothing seems work...
first had login problems, till looked @ config file , realised need have in there work:
so, users can log in... yay... can't see when log in, what's in "/home/ftp" directory...code:useralias anonymous ptawug
now, want add folders other drives ftp... done via gui, doesn't seem working... can help?
below config copied config console out of gui
so... if log ftp, should like:code:servertype standalone defaultserver on umask 022 servername "192.168.0.1" serverident on "my ftp server" serveradmin admin@admin.com identlookups off usereversedns off port 21 passiveports 49152 65534 #masqueradeaddress none timesgmt off maxinstances 30 maxloginattempts 10 timeoutlogin 300 timeoutnotransfer 120 timeoutidle 120 displaylogin welcome.msg displaychdir .message user nobody group nobody dirfakeuser off nobody dirfakegroup off nobody defaulttransfermode binary allowforeignaddress off allowretrieverestart on allowstorerestart on deleteabortedstores off transferrate retr 220 transferrate stor 250 transferrate stou 250 transferrate appe 250 systemlog /var/log/secure requirevalidshell off <ifmodule mod_tls.c> tlsengine off tlsrequired off tlsverifyclient off tlsprotocol sslv23 tlslog /var/log/proftpd_tls.log tlsrsacertificatefile /etc/gadmin-proftpd/certs/cert.pem tlsrsacertificatekeyfile /etc/gadmin-proftpd/certs/key.pem tlscacertificatefile /etc/gadmin-proftpd/certs/cacert.pem tlsrenegotiate required off </ifmodule> <ifmodule mod_ratio.c> ratios off saveratios off ratiofile "/restricted/proftpd_ratios" ratiotempfile "/restricted/proftpd_ratios_temp" cwdratiomsg "please upload first!" fileratioerrmsg "fileratio limit exceeded, upload first..." byteratioerrmsg "byteratio limit exceeded, upload first..." leechratiomsg "your ratio unlimited." </ifmodule> <limit login> allowuser ptawug denyall </limit> <anonymous /home/ftp> user ptawug group ptawug useralias anonymous ptawug anonrequirepassword off maxclients 10 "the server full, hosting %m users" displaylogin welcome.msg <limit login> allow deny </limit> <limit list nlst retr pwd xpwd size stat cwd xcwd cdup xcup > allowall </limit> <limit stor stou appe rnfr rnto dele mkd xmkd site_mkdir rmd xrmd site_rmdir site site_chmod site_chgrp mtdm > denyall </limit> <directory /media/media/share> <limit list nlst retr pwd xpwd size stat cwd xcwd cdup xcup > allowall </limit> <limit stor stou appe rnfr rnto dele mkd xmkd site_mkdir rmd xrmd site_rmdir site site_chmod site_chgrp mtdm > denyall </limit> </directory> <directory /media/media 3/share> <limit list nlst retr pwd xpwd size stat cwd xcwd cdup xcup > allowall </limit> <limit stor stou appe rnfr rnto dele mkd xmkd site_mkdir rmd xrmd site_rmdir site site_chmod site_chgrp mtdm > denyall </limit> </directory> <directory /media/media 2/files> <limit list nlst retr pwd xpwd size stat cwd xcwd cdup xcup > allowall </limit> <limit stor stou appe rnfr rnto dele mkd xmkd site_mkdir rmd xrmd site_rmdir site site_chmod site_chgrp mtdm > denyall </limit> </directory> </anonymous>
/
/files
/share
though they're on different drives.
did ever directory aliasing work?
i'm setting same thing now, in filezilla breeze do, i'm struggling find option in gadmin proftpd.
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] PRoFTPD Virtual Directories
Ubuntu
Comments
Post a Comment