Link to home
Start Free TrialLog in
Avatar of Doug Van
Doug VanFlag for Canada

asked on

FTP Madness! (Can't read from control socket. Socket error = #10054)

I'm not usually stumped over communication issues... but this one is truly baffling, hence the high point value.

I am having a great deal of difficulty establishing a FTP connection with ANY of the several sites I work with. The problem is not consistent as I do establish a successful connection about 10% of the time (which makes this more baffling IMO).

Every time I attempt a FTP connection, I do successfully log in however, 90% of the time I immediately disconnect with a socket error 10054.

I'm using two programs, namely CUTEFTP PRO 8.3 and Firefox's FireFTP.

Sample result log from CuteFTP (in code window)

FireFTP is a bit better, it occasionally connects and allows data to be xfered... but it mostly just states, "Will attempt reconnect in 10 seconds".

This problem is occurring on my Vista 64 computer but I should also point out that I see the same problem on my XP computer.

This lead me to think it is my Linksys router, however, even placing my computer in a DMZ zone didn't solve the problem!

BTW, this problem is new, I never had this trouble about 8 months ago.

Can I buy a clue?


STATUS:>  	[28/05/2009 3:46:59 PM] Getting listing ""...
STATUS:>  	[28/05/2009 3:46:59 PM] Resolving host name ftp.***************.com...
STATUS:>  	[28/05/2009 3:46:59 PM] Host name ftp.***************.com resolved: ip = xxx.xxx.232.184.
STATUS:>  	[28/05/2009 3:46:59 PM] Connecting to FTP server... ftp.***************.com:21 (ip = xxx.xxx.232.184)...
STATUS:>  	[28/05/2009 3:46:59 PM] Socket connected. Waiting for welcome message...
		[28/05/2009 3:47:00 PM] 220---------- Welcome to Pure-FTPd [privsep] [TLS] ----------
		220-You are user number 5 of 50 allowed.
		220-Local time is now 15:47. Server port: 21.
		220-This is a private system - No anonymous login
		220 You will be disconnected after 3 minutes of inactivity.
STATUS:>  	[28/05/2009 3:47:00 PM] Connected. Authenticating...
COMMAND:>	[28/05/2009 3:47:00 PM] USER ***************
		[28/05/2009 3:47:00 PM] 331 User *************** OK. Password required
COMMAND:>	[28/05/2009 3:47:00 PM] PASS *****
		[28/05/2009 3:47:00 PM] 230-User *************** has group access to:  450     
		230 OK. Current directory is /
STATUS:>  	[28/05/2009 3:47:00 PM] Login successful.
COMMAND:>	[28/05/2009 3:47:00 PM] PWD
		[28/05/2009 3:47:00 PM] 257 "/" is your current location
STATUS:>  	[28/05/2009 3:47:00 PM] Home directory: /
COMMAND:>	[28/05/2009 3:47:00 PM] FEAT
		[28/05/2009 3:47:00 PM] Informational Message Only:
		211-Extensions supported:
		 EPRT
		 IDLE
		 MDTM
		 SIZE
		 REST STREAM
		 MLST type*;size*;sizd*;modify*;UNIX.mode*;UNIX.uid*;UNIX.gid*;unique*;
		 MLSD
		 ESTP
		 PASV
		 EPSV
		 SPSV
		 ESTA
		 AUTH TLS
		 PBSZ
		 PROT
		211 End.
STATUS:>  	[28/05/2009 3:47:00 PM] This site supports features.
STATUS:>  	[28/05/2009 3:47:00 PM] This site supports SIZE.
STATUS:>  	[28/05/2009 3:47:00 PM] This site can resume broken downloads.
STATUS:>  	[28/05/2009 3:47:00 PM] Time zone synchronization
COMMAND:>	[28/05/2009 3:47:00 PM] TYPE I
		[28/05/2009 3:47:00 PM] 200 TYPE is now 8-bit binary
COMMAND:>	[28/05/2009 3:47:00 PM] PASV
		[28/05/2009 3:47:00 PM] 227 Entering Passive Mode (xxx,xxx,232,184,196,49)
COMMAND:>	[28/05/2009 3:47:00 PM] REST 0
		[28/05/2009 3:47:00 PM] 350 Restarting at 0
COMMAND:>	[28/05/2009 3:47:00 PM] STOR gs_tmp_tz.4823.29
STATUS:>  	[28/05/2009 3:47:00 PM] Connecting FTP data socket... 72.167.232.184:50225...
		[28/05/2009 3:47:00 PM] 150 Accepted data connection
		[28/05/2009 3:47:01 PM] 226-File successfully transferred
		226 0.092 seconds (measured here), 10.82 bytes per second
COMMAND:>	[28/05/2009 3:47:01 PM] SIZE gs_tmp_tz.4823.29
		[28/05/2009 3:47:01 PM] 213 1
COMMAND:>	[28/05/2009 3:47:01 PM] MDTM gs_tmp_tz.4823.29
		[28/05/2009 3:47:01 PM] 213 20090528224731
COMMAND:>	[28/05/2009 3:47:01 PM] DELE gs_tmp_tz.4823.29
		[28/05/2009 3:47:01 PM] 250 Deleted gs_tmp_tz.4823.29
STATUS:>  	[28/05/2009 3:47:01 PM] Time zone is (GMT -8:00).
COMMAND:>	[28/05/2009 3:47:01 PM] TYPE A
		[28/05/2009 3:47:01 PM] 200 TYPE is now ASCII
COMMAND:>	[28/05/2009 3:47:01 PM] PASV
ERROR:>   	[28/05/2009 3:47:04 PM] Can't read from control socket. Socket error = #10054.
ERROR:>   	[28/05/2009 3:47:04 PM] Failed to establish data socket.

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of John
John
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Doug Van

ASKER

thinkpads_user: Thanks for the suggestion. I used to own this s/w a few years back.

I don't know what to think. Three different FTP apps and three different results!

WS_FTP actually seems to work better than FireFTP but it still has trouble.

It's very slow, I am seeing a lot of "busy" messages and a few "Error reading response from server.
It appears that the connection is dead.  Attempting reconnect..." but it still works better.

BTW, I should point out that I do not have any other Internet connection trouble. This problem seems only related to FTP.

Anyhow, oddly enough it is working much better!

Why?

I have good success with WS_FTP. Now, I was at a client this morning and was suggesting WS_FTP instead of a browser approach. We tried it out on our live web site and it was horridly sluggish (I saw "Busy" messages on the FTP screen at the bottom). The client said right at that time that lots of people were signing up on the web site. So I tried out the same site this evening and it was very brisk and useable. So maybe the sites you are trying to use are subject to this kind of busy-ness. On this score, try different times of the day.

With respect to settings, I use the basic settings. I use the OS internet connection, no FTP firewall (default), no compression (default), and so on. So for your other programs, you may wish to check these kinds of settings.

... Thinkpads_User
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Okay, I can say this with certainty:
- It's not Vista 64 (why? Because the problem occurs on my XP computer as well)
- It's not my computer (why? see above)
- It's not the FTP site I am communicating with (why? Because the problem is present on all sites I work with - including GoDaddy, and various Linux FTP servers)

Is it:
- My service provider? Normal Internet seems to work fine.
- My Linksys WRT54G version 6

That is what I need to determine next.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I just went back and looked at an email from Ipswitch in 2000 on a very similar issue. First, the version at that time was WS_FTP V6.05. Newer versions seemed to fix the issue. Also like you, it was on multiple machines.

The one thing that did stand out is that I was on a broadband internet connection, and the thing they suggested was changing the MTU size. I routinely change router MTU's now to 1492 (where the default is 1500). .... Thinkpads_User
Found this thread:
http://forums.linksys.com/linksys/board/message?board.id=Wireless_Routers&thread.id=126574

Okay, I will update the Linksys firmware from v1.02.5 to Ver.1.02.6.

The release notes don't make this firmware seem very promising....but who knows, maybe the router needs a 'jolt'. I've seen stranger.
I would try connecting without being plugged into the linksys router first before trying a firmware update..  
Update didn't help! :-(
Brenaud:

>Try connecting without the linksys.

I will try this in the evening. If I don't have any difficulties, I guess that means the router is funky!

Any suggestions on a very good quality wireless router for a 1000 sq foot single floor home?
Linksys WRT160N .. my parents and my cousin have one, no problems with it, XP / Vista.

http://www.linksysbycisco.com/US/en/products/WRT160N
Tried a direct connection and I have no problems with FTP. :-)

It's the router. My next thought was to flash it with Tomato.... but no love for me today, my version of the WRT54G is v6 and that is not compatible with the alternate firmware. :-(

Brenaud: I can get a WRT160N for 60.00 - I just purchased it and will pick up tomorrow. :-)
Hey folks,

Sorry for the long delay. This issue was solved long ago by changing my wireless router. Unfortunately, I did not have the correct model to upgrade my WRT-54G to Tomato.

Thanks for your assistance.