Question

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

Asked by: sconnell

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.

                                  
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:

Select allOpen in new window

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-05-28 at 16:13:46ID24446982
Tags

ftp

,

socket error

,

10054

,

vista

,

linksys

Topics

FTP Software

,

FTP Servers

,

Network Routers

Participating Experts
2
Points
500
Comments
14

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. Socket Madness
    I am working on a network server daemon, and have just tried compiling under a different compiler. The following code works perfectly using gcc 2.96, when it gets to the fgets statement, the program blocks until input is received. When using gcc 3.2.3, the fgets returns NUL...
  2. Firefox shakes on Vista
    I have Vista Ultimate on a laptop T7200 Core 2 with Nvidia 7900GS - Firefox 2.0.0.3 'shakes' from time to time. IE7 is fine. Any ideas please?
  3. Linksys WMP300n Vista Drivers
    I am running Windows Vista Home Premium and I am trying to find compatible driver for my Linksys WMP300N 64 Bit drivers
  4. Motocross madness fix for windows Vista
    I switched from xp pro to Vista.Reloaded Motocross Madness 2.Doesnit work now.The error was " d3drm.dll was not found" I have a network up and running now.The Vista computer is the only one not working.
  5. WinPcap vs. Raw Sockets
    I am looking for a clear explanation of the difference(s) between using raw sockets vs. the WinPcap driver for packet capture on Windows XP/Vista. What are the pros and cons of each approach? From everything I've read, WinPcap seems to be the preferred means of doing this, ...

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: thinkpads_userPosted on 2009-05-28 at 17:17:29ID: 24499206

I am using WS_FTP V12 in a Vista Business 64-bit Thinkpad and it is very, very reliable. You might try an evaluation copy of this as it is not free (but not expensive either). Then you can determine if it might be your connection (then WS_FTP will fail in the same way) or the programs you are using (WS_FTP does not fail) ... Thinkpads_User

 

by: sconnellPosted on 2009-05-28 at 18:18:00ID: 24499475

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?

 

by: thinkpads_userPosted on 2009-05-28 at 18:38:02ID: 24499536

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

 

by: BrenaudPosted on 2009-05-28 at 18:41:44ID: 24499556

Do you have some kind of firewall ? I had a similar problem. Have you tried to check active/passive mode ?

Have you tried FileZilla FTP Client ?

 

by: sconnellPosted on 2009-05-29 at 12:11:00ID: 24505265

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.

 

by: BrenaudPosted on 2009-05-29 at 12:46:04ID: 24505557

Try connecting without the linksys. I seen this kind of problems in the past. If you take that computer and connect it somewhere else, is it working ?

 

by: thinkpads_userPosted on 2009-05-29 at 12:56:21ID: 24505638

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

 

by: sconnellPosted on 2009-05-29 at 13:39:25ID: 24506029

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.

 

by: BrenaudPosted on 2009-05-29 at 13:43:33ID: 24506065

I would try connecting without being plugged into the linksys router first before trying a firmware update..  

 

by: sconnellPosted on 2009-05-29 at 13:45:26ID: 24506087

Update didn't help! :-(

 

by: sconnellPosted on 2009-05-29 at 13:47:53ID: 24506101

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?

 

by: BrenaudPosted on 2009-05-29 at 13:50:46ID: 24506125

Linksys WRT160N .. my parents and my cousin have one, no problems with it, XP / Vista.

http://www.linksysbycisco.com/US/en/products/WRT160N

 

by: sconnellPosted on 2009-05-29 at 23:53:37ID: 24508063

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. :-)

 

by: sconnellPosted on 2009-09-28 at 10:08:15ID: 25441109

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.

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...