|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Slow FTP Connection
I'm using wu-ftpd-2.6.1 on my RH 7.2 OS. I facing a problem
to connect to my ftp server. It take about 1 minute for the initial connection. Once connected the server, the file transfer will be very fast. But if I telnet or make a http to that server, the connect speed is fast. Any idea .. Why ftp is slow but telnet/http is fast ? Thank Regards, |
|
#2
|
||||
|
||||
|
I had a simular problem and found out that my DNS was wrong.
I had define my DNS lookup to my gateway 192.168.0.1, but changes that to the DNS IP to the ISP provider. After this changes the initial connection time disapper. Maybe u have the same problem ? - ThunderBall |
|
#3
|
|||
|
|||
|
I had this problem too and traced it back to the following:
wu-ftp'd was being asked to try and ident a user as they logged into the ftp server, doing this caused the delay you are experiencing. I can't fnd the original configuration that I rm'd from the config file, why I didn't just comment it out instead of deleting it I'll never know but anyway... In my /etc/xinetd.d/wu-ftpd file I have the following: Quote:
This kind of problem can also be caused by bad DNS setup or bad routing, check your default route is fine and that DNS is correctly configured, including reverse lookup of the hosts you're connecting from etc. Hope that helps... |
|
#4
|
|||
|
|||
|
RE : Slow FTP Connection...
Thank for your replied. Probably I guest is because of my
DNS problem. Any how, I will try look at my DNS. Below are the messages when I ftp to that server. The slower sequence is when "Socket connected waiting for login sequence". ============================================== Resolving host name 10.8.1.70... Connecting to (10.8.1.70). Connected to (10.8.1.70) -> IP: 10.8.1.70 PORT: 21. Socket connected waiting for login sequence. 220 mypgsnet01 FTP server (Version wu-2.6.1-16.7x.1) ready. USER chchar 331 Password required for chchar. PASS (hidden) 230 User chchar logged in. SYST 215 UNIX Type: L8 REST 100 350 Restarting at 100. Send STORE or RETRIEVE to initiate transfer. REST 0 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer. PWD ============================================ |
|
#5
|
|||
|
|||
|
Slow FTP Connection Fixed by Modifying XINETd
Thank you, Siftah!
I had the same problem as the thread-starter. It took about 40 seconds to connect to my FTP server, but then transfers were blazing fast. I commented out the USERID portion of the XINETd config file, as described by Siftah, and restarted XINETd. This fixed it. Now I connect to the FTP server in under 1 second. On Redhat 7.x you can restart XINETd using the following: /sbin/service xinetd restart |
|
#6
|
|||
|
|||
|
I'm having the exact same problem with cuteftp.. it takes like 20-30 secs before i can log in..... and this never used to happen before. I just got a new computer and this started to happen... is it becuz of service pack 2 or is there a setting in cuteftp that is identifying something that is taking alittle longer?
Bomber |
|
#7
|
|||
|
|||
|
Quote:
Humm, you're having an entirely different problem to be honest, you have a problem with your FTP client whereas the thread starter had a problem with his FTP server... Either way, I would probably look at your FTP settings and make sure it's set to use PASV mode, it's quite likely the firewall in SP2 is interfering with the PORT mode which a lot of FTP clients default to - the delay you experience is perhaps PORT mode timing out and the client then trying a PASV connection instead. Try enabling PASV mode and see if the speed improves. |
![]() |
| Viewing: Dev Shed Forums > System Administration > FTP Help > Slow FTP Connection |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|