View Full Version : I cannot login proftpd from win xp Dreamweaver
mfdp10
21st June 2007, 00:59
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
till
21st June 2007, 12:33
The configuration looks fine so far. Any errors in /var/log/proftpd/proftpd.log when you connect with dreamweaver?
Hans
21st June 2007, 14:58
Try to disable "passive" mode within Dreamweaver.
mfdp10
21st June 2007, 15:48
/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
Hans
21st June 2007, 16:32
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
mfdp10
21st June 2007, 23:33
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
mfdp10
21st June 2007, 23:41
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....
falko
22nd June 2007, 14:10
Have you tried both active and passive transfers in your FTP clients?
mfdp10
22nd June 2007, 14:18
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
falko
22nd June 2007, 14:20
What's the output of iptables -L?
mfdp10
22nd June 2007, 14:39
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
falko
23rd June 2007, 22:01
No firewall, so that's not the problem. Which distribution do you use?
mfdp10
24th June 2007, 02:32
Debian 4 following The Perfect Setup - Debian Etch (Debian 4.0)
falko
24th June 2007, 21:05
Maybe the firewall on your Windows system is the problem? Have you tried to disable it for testing purposes?
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.