I cannot login proftpd from win xp Dreamweaver

Discussion in 'General' started by mfdp10, Jun 20, 2007.

  1. mfdp10

    mfdp10 New Member

    Hi, I can login from Win 2k

    internet explorer: ftp://mydomain.com. > OK

    from zafari: ftp://mydomain.com. > OK

    but win xp internet explorer: ftp://mydomain.com. > NO

    cannot see the folders

    from dreamweaver (winxp) cannot login
    apparently the FTP works fine...

    /etc/proftpd_ispconfig.conf

    DefaultAddress 127.0.0.1
    <VirtualHost 192.168.0.100>
    DefaultRoot ~
    AllowOverwrite on
    Umask 002
    </VirtualHost>


    /etc/proftpd.conf

    Include /etc/proftpd/modules.conf

    UseIPv6 off

    ServerName "Debian"
    ServerType standalone
    DeferWelcome off

    MultilineRFC2228 on
    DefaultServer on
    ShowSymlinks on

    TimeoutNoTransfer 600
    TimeoutStalled 600
    TimeoutIdle 1200

    DisplayLogin welcome.msg
    DisplayFirstChdir .message
    ListOptions "-l"

    DenyFilter \*.*/

    Port 21
    MaxInstances 30

    User proftpd
    Group nogroup

    Umask 022 022

    AllowOverwrite on


    TransferLog /var/log/proftpd/xferlog
    SystemLog /var/log/proftpd/proftpd.log

    <IfModule mod_tls.c>
    TLSEngine off
    </IfModule>

    <IfModule mod_quota.c>
    QuotaEngine on
    </IfModule>

    <IfModule mod_ratio.c>
    Ratios on
    </IfModule>


    <IfModule mod_delay.c>
    DelayEngine on
    </IfModule>

    <IfModule mod_ctrls.c>
    ControlsEngine on
    ControlsMaxClients 2
    ControlsLog /var/log/proftpd/controls.log
    ControlsInterval 5
    ControlsSocket /var/run/proftpd/proftpd.sock
    </IfModule>

    <IfModule mod_ctrls_admin.c>
    AdminControlsEngine on
    </IfModule>

    DefaultRoot ~
    IdentLookups off
    ServerIdent on "FTP Server ready."

    Include /etc/proftpd_ispconfig.conf
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    The configuration looks fine so far. Any errors in /var/log/proftpd/proftpd.log when you connect with dreamweaver?
     
  3. Hans

    Hans Moderator ISPConfig Developer

    Another suggestion

    Try to disable "passive" mode within Dreamweaver.
     
  4. mfdp10

    mfdp10 New Member

    /var/log/proftpd/proftpd.log

    Jun 21 13:08:22 server1.alojat.com.ar proftpd[16571] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): FTP session opened.
    Jun 21 13:08:23 server1.alojat.com.ar proftpd[16571] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): USER web10_mauricio: Login successful.
    Jun 21 13:08:23 server1.alojat.com.ar proftpd[16571] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): Preparing to chroot to directory '/var/www/web10'
    Jun 21 13:08:23 server1.alojat.com.ar proftpd[16571] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): mod_delay/0.5: delaying for 413 usecs
    Jun 21 13:08:40 server1.alojat.com.ar proftpd[16571] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): FTP session closed.

    from ftp://guardamar.com.ar (win98) > No
    Message error:
    cannot open the folders in the server
    200 type set to A
    200 port command successful
    425 unabled to build data connection
    connection refused

    log

    Jun 21 11:23:23 server1.alojat.com.ar proftpd[12673] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): FTP session opened.
    Jun 21 11:23:23 server1.alojat.com.ar proftpd[12673] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): USER web10_mauricio: Login successful.
    Jun 21 11:23:23 server1.alojat.com.ar proftpd[12673] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): Preparing to chroot to directory '/var/www/web10'
    Jun 21 11:23:23 server1.alojat.com.ar proftpd[12673] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): mod_delay/0.5: delaying for 243 usecs
    Jun 21 11:23:24 server1.alojat.com.ar proftpd[12674] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): FTP session opened.
    Jun 21 11:23:24 server1.alojat.com.ar proftpd[12674] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): mod_delay/0.5: delaying for 5 usecs
    Jun 21 11:23:24 server1.alojat.com.ar proftpd[12674] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): USER web10_mauricio: Login successful.
    Jun 21 11:23:24 server1.alojat.com.ar proftpd[12674] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): Preparing to chroot to directory '/var/www/web10'
    Jun 21 11:23:24 server1.alojat.com.ar proftpd[12674] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): mod_delay/0.5: delaying for 563 usecs
    Jun 21 11:27:39 server1.alojat.com.ar proftpd[12673] server1.alojat.com.ar (245.Red-213-98-xxx.staticIP.rima-tde.net[213.98.xxx.245]): FTP session closed.

    thanks for reply
     
  5. Hans

    Hans Moderator ISPConfig Developer

    You can consider to add the lines to your your /etc/proftpd/proftpd.conf:

    DefaultRoot ~
    UseReverseDNS off
    UseIPv6 off
    IdentLookups off

    What's the output of:

    netstat -tap | grep proftpd
     
  6. mfdp10

    mfdp10 New Member

    netstat -tap | grep proftpd


    tcp 0 0 *:ftp *:* LISTEN 3 711/proftpd: (acce
    tcp 0 0 server1.alojat.co:34748 *:* LISTEN 3 744/proftpd: web10
    tcp 0 52 server1.alojat.com.:ftp genesis.denish.co:56932 ESTABLISHED3 744/proftpd: web10
     
  7. mfdp10

    mfdp10 New Member

    if i try to connect from my server with smoothftp.com, i connect, but not appear thr folders... makedir work fine... changedir work ok too

    if i try from www2ftp.de: i connect ok, show folders ... all is ok

    i dont know....
     
  8. falko

    falko Super Moderator ISPConfig Developer

    Have you tried both active and passive transfers in your FTP clients?
     
  9. mfdp10

    mfdp10 New Member

    Yes...

    login from gFTP on debian 4:

    Buscando guardamar.com.ar
    Intentando guardamar.com.ar:21
    Conectado a guardamar.com.ar:21
    220 ProFTPD 1.3.0 Server (Debian) [192.168.0.100]
    USER web10_mauricio

    331 Password required for web10_mauricio.
    PASS xxxx
    230 User web10_mauricio logged in.
    SYST

    215 UNIX Type: L8
    TYPE I

    200 Type set to I
    PWD

    257 "/" is current directory.
    Cargando listado de directorio / desde el servidor (LC_TIME=es_ES.UTF-8)
    PASV



    and not show the folders
     
  10. falko

    falko Super Moderator ISPConfig Developer

    What's the output of
    Code:
    iptables -L
    ?
     
  11. mfdp10

    mfdp10 New Member

    server1:~# iptables -L

    Chain INPUT (policy ACCEPT)
    target prot opt source destination

    Chain FORWARD (policy ACCEPT)
    target prot opt source destination

    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
     
  12. falko

    falko Super Moderator ISPConfig Developer

    No firewall, so that's not the problem. Which distribution do you use?
     
  13. mfdp10

    mfdp10 New Member

    Debian 4 following The Perfect Setup - Debian Etch (Debian 4.0)
     
  14. falko

    falko Super Moderator ISPConfig Developer

    Maybe the firewall on your Windows system is the problem? Have you tried to disable it for testing purposes?
     

Share This Page