LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   proftpd not working via GUI, but works with Command line (https://www.linuxquestions.org/questions/linux-software-2/proftpd-not-working-via-gui-but-works-with-command-line-500480/)

Armon 11-10-2006 08:40 PM

proftpd not working via GUI, but works with Command line
 
I'm running proftpd on Ubuntu 6.06, and when I ftp into the machine with either

Code:

ftp localhost
or in the case of my mac

Code:

ftp 192.168.1.118
the connection goes through and works (if slowly on the mac).
I'm not sure how familiar you guys are with mac, but with Go->Connect
to Server->ftp://192.168.1.118, finder tries to connect but eventually gives and error message and hangs. I don't know if it is the way finder handles the connections, or some setting that isn't optimum for GUI tools. (I've noticed that even windows/linux/mac machines on the local network take quite some time to connect even at 100 mps)

this is my config in proftpd.conf

#
# Includes required DSO modules. This is mandatory in proftpd 1.3
#
Include /etc/proftpd/modules.conf

#
# /etc/proftpd.conf -- This is a basic ProFTPD configuration file.
# To really apply changes reload proftpd after modifications.
#

ServerName "Armons FTP Server"
ServerType standalone
DeferWelcome on

MultilineRFC2228 on
DefaultServer on
ShowSymlinks on

TimeoutNoTransfer 300
TimeoutStalled 300
TimeoutIdle 120

DisplayLogin Welcome to Armons FTP Server
DisplayFirstChdir .message
ListOptions "-l"

DenyFilter \*.*/

# Uncomment this if you would use TLS module:
TLSEngine on

# Port 21 is the standard FTP port.
Port 21
MaxInstances 10

# Set the user and group that the server normally runs at.
User ftp
Group nogroup

# Umask 022 is a good standard umask to prevent new files and dirs
# (second parm) from being group and world writable.
Umask 022 022
# Normally, we want files to be overwriteable.
AllowOverwrite on
AllowRetrieveRestart on

<Anonymous /home/ftp>
User ftp
Group nogroup
UserAlias anonymous ftp
LoginPasswordPrompt off
</Anonymous>

DefaultRoot ~ !admin,users



Thanks for any help! (Even if you don't know how to fix it for my mac, any "better" configs would be appreciated!)

j-ray 11-11-2006 04:39 AM

so maybe the routing is not set correctly? if the commandline ftp gets thru and the gui does not - then maybe it tries to connect via the router and gets caught in the firewall?

im just guessing
j.

(i know mac quite well - i can even spell it fluently)

Armon 11-11-2006 05:23 PM

I'm not sure that would do it, as the router only filters traffic coming in, not going out. Also, the machine serves http, and ssh, and smb, but the other machines can all access those services. The smb connection through GUI works though, weird huh? The only reason I care is that with ftp, It can sustain about 2 mbs transfer rate, while smb varies between 600 kbs-1.8 mbs.


All times are GMT -5. The time now is 11:55 PM.