Koozali.org: home of the SME Server

no FTP

Offline 2whlgeezer

  • 19
  • +0/-0
no FTP
« on: October 08, 2008, 01:39:09 PM »
Good morning all.  FTP that was formerly working fine seems to have gone south.  Admittedly I haven't used it in quite a while, but it was fine a while back.  I get the following dialong on logins-

Connecting to 74.XXX.XXX.XX , 08 Oct 2008 07:29:47
< 220 192.168.2.202 FTP server ready
> USER admin
< 331 Password required for admin
> PASS (hidden)
< 230 User admin logged in
> SYST
< 215 UNIX Type: L8
> PWD
< 257 "/" is the current directory
> TYPE A
< 200 Type set to A
> PASV
< 227 Entering Passive Mode (XX,XXX,XXX,XX,198,3)
> LIST
< 421 No transfer timeout (300 seconds): closing control connection
Connection closed

After LIST is sent, FTP just times out.  I searched for similar problems in the forum, but don't seem to find it.  Dont know if it makes a difference, but after the lst update (several months ago), the server manager panel was reorganized, with several headings dropped, but I always simply worked around that.

Any assistance woud be appreciated.

Bill
« Last Edit: October 08, 2008, 01:40:58 PM by 2whlgeezer »

Offline arne

  • ****
  • 1,116
  • +0/-4
Re: no FTP
« Reply #1 on: October 08, 2008, 05:30:42 PM »
With that kind of problem, it sounds like that the SME server is running in server-only mode and that the firewall in front is not doing its job properly and like it should. If this should be the case this link might explain some part of the situation: http://www.slacksite.com/other/ftp.html

(The SME boks is the "server-only" behind an other gateway, and the clint is on an external IP, is this right, or is it a question of some other arrangement ?)
« Last Edit: October 08, 2008, 05:34:33 PM by arne »
......

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: no FTP
« Reply #2 on: October 08, 2008, 05:43:38 PM »
I get the following dialong on logins-

Connecting to 74.XXX.XXX.XX , 08 Oct 2008 07:29:47
< 220 192.168.2.202 FTP server ready74.XXX.XXX.XX

So clearly you have a port forwarding firewall in front of the server (74.XXX.XXX.XX is forwarding to 192.168.2.202

Quote
< 200 Type set to A
> PASV
< 227 Entering Passive Mode (XX,XXX,XXX,XX,198,3)

DIsable passive mode in the client. Or, as Arne says, fix the port forwarding firewall.

Or better, yet, stop using ftp altogether, which is frequently plagued with firewalling problems. Use WinSCP or sftp.


Offline 2whlgeezer

  • 19
  • +0/-0
Re: no FTP
« Reply #3 on: October 08, 2008, 06:57:18 PM »
Many thanks for the tips.  Yes, port forwarding firewall in front of server, external address 74.XX.XX etc.  Need to fix the firewall (I thought I had done that.....), but used sshfs, mounted and all is well.  I may fix ftp later, but got files transferred OK.

Thanks again.