Connection on my own ftp server [linux]

Asked By 10 points N/A Posted on -
qa-featured

Well, I have a small problem that i can not solve

I setup an ftp server on  my fedora with pure-ftpd, and i easily accessed locally.

But with an external connection i can connect but i can not retrieve the directory list, and then the connection stopped

The port 21,20,5000 to 5100 (for the liability) are open TCP on my router and they are also  open in the firewall fedora

With the command-pure ftp who I see the user logs on for 10 seconds, then he gets the error and disconnect.

SHARE
Answered By 0 points N/A #114255

Connection on my own ftp server [linux]

qa-featured

Hi James, I think there is only permission problem. please check with the folder permission for internal and external access.

I think first you delete your ftp user and directory and follow below steps and create again new user.

Ftp User Create

Please login in the server with root.

1.         Go to the following location and make a folder for ftp.

                        #cd /var/www/

                        #mkdir web

2.         make an user named gclcorp with home directory /var/www/web.

                        #useradd -d /var/www/web/ -m myweb

                        #passwd myweb

3.         Give the folder owner ship to gclcorp user

 #cd /inside the location of the directory as – /var/www/web

 Write               #ls -la to see present folder permission. then enter below Command for change the folder permission

                          #chown –R myweb.myweb web/

Related Questions