Welcome to WebmasterWorld Guest from 54.226.25.231

Forum Moderators: bakedjake

Message Too Old, No Replies

Can log into FTP server but can not access files

FTP login

     

ebola100

3:51 am on Apr 15, 2007 (gmt 0)

10+ Year Member



I can login to my FTP server (Fedora Core 6 and now Fedora Core 7 test 3 has the same problem) but it will not show the files. I set the home folder for the user at 777.

So I can login but nothing else. Previously this wasn't a problem. I can't say what happened to cause it.

Here's the error:

227 Entering Passive Mode (65,7,#*$!,34,142,50)
LIST

Can anyone help me with this?

mcavic

6:02 pm on Apr 15, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



That's a firewall issue, due to the horrible design of the FTP protocol. Is it proftpd, or vsftpd?

ebola100

8:47 pm on Apr 15, 2007 (gmt 0)

10+ Year Member



vsftpd

ebola100

1:48 am on Apr 16, 2007 (gmt 0)

10+ Year Member



[fedoraforum.org...]

This was a helpful forum. But with Fedora Core 7 test 3 I am unable to update the SE Linux to open new ports. The only ports that are open are the ones I defined during startup.

So I disabled SE Linux and try FTPing again and I get the same message.

I made the user's home directory 777.

mcavic

2:48 am on Apr 16, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Post #20 on that other thread is basically what I did on my proftpd server, and it worked for me. Disabling SELinux is good, but you also need to update the firewall settings, whether it's iptables or some other firewall.

pasv_max_port=1501
pasv_min_port=1510

That will allow 10 simultaneous transfers, you can adjust the range appropriately.

ebola100

8:40 pm on Apr 16, 2007 (gmt 0)

10+ Year Member



thanks for clarifying that. the OS community comes through again!
 

Featured Threads

Hot Threads This Week

Hot Threads This Month