Proftpd for dummies
I set up proftp on my slackbox, and I've been reading documentation all afternoon
and still have a very stupid question.
Where's the root directory?
It created the user directory /home/ftp is all I can find.
I thought it worked kinda like httpd which I am familiar with.
No /var/ftp or anything of the sort.
If I ftp localhost, I can log in with a username and pass, and am in my home
So I made a text file in /home/ftp and typed ftp://192.168.1.100 in the browser
window on my other computer, and it gives me a blank listing. I see the index
but no files are in whatever directory it's showing me.
And if I ftp from windows command prompt, it says 'connected to 192.168.1.100'
but no further output. And nothing shows up if I type. A few seconds later it disconnects.
I see my browser attempts in the log files but not the command prompt attempt.
or the other way around.
Someone clue me in?
To use the /var/ftp as the default ftp directory. edit /etc/passwd
and change the user account you created home directory from
Create a file in the /var/ftp and change the ownership to the following
Check to see if the files show up in your browser.
chown ftp:ftp testfile