[CentOS] Problem with VSFTP

Tue Sep 11 19:10:22 UTC 2007
John Hinton <webmaster at ew3d.com>

Rajeev R Veedu wrote:
>
> I have a vsftp server hosted on custom dyndns site. We have a 4mb 
>  ADSL connection. When I tried to download the files from the ftp 
> server with wan IP address or the dyndns address it downloads some 
> files and disconnects. Please find below an extract from the log file 
> (ace ftp client). I would appreciate if someone could guide me, 
> possibly with a solution for this problem.  
>
>  
>
> Many thanks
>
>  
>
> Rajeev
>
Rajeev,

I've been chasing this same problem for a couple of years now. It seems 
to happen the most often when first the connection is a fast connection 
and second when there are a lot of files to transfer. I've reduced the 
number of concurrent connections in my ftp client. I've done passive and 
port modes and I still don't know what is causing this but it is 
extremely irritating.

If you find a solution, please post it back to this list for others to 
learn.

Thanks,
John Hinton
>
>  
>
>  
>
> 150 Opening BINARY mode data connection for 4393 MP001.dwg (15434547 
> bytes).
>
> 226 File send OK.
>
> Transferred 15,434,547 bytes in 20.02 seconds (753.04 KB/s)
>
> PASV
>
> 227 Entering Passive Mode (86,98,38,95,118,208)
>
> RETR 4393 MP002.dwg
>
> 150 Opening BINARY mode data connection for 4393 MP002.dwg (9642920 
> bytes).
>
> 226 File send OK.
>
> Transferred 9,642,920 bytes in 11.64 seconds (809.01 KB/s)
>
> PASV
>
> 227 Entering Passive Mode (86,98,38,95,91,22)
>
> RETR 4393 SC001.dwg
>
> 150 Opening BINARY mode data connection for 4393 SC001.dwg (382929 bytes).
>
> 226 File send OK.
>
> Transferred 382,929 bytes in 0.20 seconds (1842.14 KB/s)
>
> PASV
>
> 227 Entering Passive Mode (86,98,38,95,54,129)
>
> RETR 4393a1frontpage.dwg
>
> 150 Opening BINARY mode data connection for 4393a1frontpage.dwg 
> (1709818 bytes).
>
> 226 File send OK.
>
> Transferred 1,709,818 bytes in 0.95 seconds (1752.09 KB/s)
>
> PASV
>
>  
>
>  
>
> /Connection aborted/
>
> /Unable to open data socket/
>
> / /
>
> / /
>
> Delaying for 5 seconds before next attempt...
>
> Processing item, attempt 2...
>
> Connecting to 86.98.38.95 on port 21. Attempt 1 of 3...
>
> 220 Welcome to Our  FTP server.
>
> USER Ourferns
>
> 331 Please specify the password.
>
> PASS *****
>
> 230 Login successful.
>
> Server Type: UNIX (standard)
>
> FEAT
>
>  
>
>  
>
>  
>
> My VSFTPD.CONF
>
>  
>
>  
>
> anonymous_enable=NO
>
> local_enable=YES
>
> write_enable=YES
>
> xferlog_enable=YES
>
> connect_from_port_20=YES
>
> chown_uploads=YES
>
> xferlog_file=/var/log/vsftpd.log
>
> xferlog_std_format=YES
>
>  
>
> ftpd_banner=Welcome to our  FTP server.
>
> #
>
>  
>
> chroot_list_enable=YES
>
> chroot_list_file=/etc/vsftpd.chroot_list
>
> #chroot_local_user=YES
>
> pam_service_name=vsftpd
>
> userlist_enable=YES
>
> #enable for standalone mode
>
> listen=YES
>
> tcp_wrappers=YES
>
>  
>
>  
>
>  
>
> !DSPAM:46e4086d226861804284693!
> ------------------------------------------------------------------------
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>
>
> !DSPAM:46e4086d226861804284693!
>