[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

ftp socket error # 10061

Posted on 2009-07-03
10
Medium Priority
?
2,171 Views
Last Modified: 2013-12-09
Hello

Have a tricky one here. I am able to connect to our server (FTP) on port 22 using FileZilla, list the directory, and copy files to and from the server.

BUT, using command line FTP, and Indy10 I cannot get to do a directory listing, the error is "socket error # 10061".

Any ideas? I have tried passive and active modes, data ports settings etc etc.

Thank you
0
Comment
Question by:WalterRautenbach
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 4
10 Comments
 
LVL 53

Accepted Solution

by:
Infinity08 earned 750 total points
ID: 24772458
Port 22 is not the standard port for FTP.

So, either the server is running on port 21 (the standard FTP port), and you need to specify port 21 when using the command line FTP tool.

Or, the server is indeed using port 22, in which case it's probably FTP over SSH, which is likely not supported by the command line FTP tool.

If the server is using port 22 in a non standard way (ie. for normal non-secure FTP), then make sure you specify that port when using the command line FTP tool.
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 24772475
If the port is not the problem, then check whether the server is able to accept multiple concurrent connections ... Maybe it only accepts a limited amount of connections, and they are all used up.

The other option is that a firewall is blocking access somehow, so check that too.
0
 

Author Comment

by:WalterRautenbach
ID: 24772639
Thank you for the response

Port 22 is used. We are implementing a SFTP(we want to) although not using SSH and certificates yet.

But please note that FileZilla is able (using port 22) to do exactly what we want to, but we are using Indy10.

Why would Indy10 not be able to do this but FileZilla is?

Regards
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:WalterRautenbach
ID: 24772652
Further, we are able to connect to the server without a problem, just not able to get a directory listing or to copy files to and from the server
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 24772676
Does Indy10 support SFTP ?
Did you check the other possibilities in my second post http:#24772475 ?
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 24772691
>> just not able to get a directory listing or to copy files to and from the server

Ah. Can you compare the FTP command logs for both FileZilla and Indy10, and see where the difference lies ?
0
 

Author Comment

by:WalterRautenbach
ID: 24773243
We use Indy's LIST method. FileZilla calls MLSD

It is at this point where Indy returns with the "socket error # 10061"....on the LIST method.

FileZilla at the same token continues and returns "150 Connection Accepted"

Command line FTP returns a "425 Can't open data connection" when we try the same commands than FileZilla
0
 
LVL 53

Expert Comment

by:Infinity08
ID: 24773416
The PORT or PASV commands are (exactly) the same for both FileZilla and Indy10 ?
The same ports are used in both cases ?
0
 
LVL 39

Assisted Solution

by:itsmeandnobodyelse
itsmeandnobodyelse earned 750 total points
ID: 24780300
>>>> "socket error # 10061"....

#10061 is error WSAECONNREFUSED (or ECONNREFUSED at UNIX) what means the server refused connection. If not for any of the reasons Infinity already told you, it could be that FileZilla is in the whitelist of the FTP server while Indy10 is not.
0
 

Author Closing Comment

by:WalterRautenbach
ID: 31599567
No solid answer, too much speculation. I still had to spend days to get to a solution...which is no solution
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface There are many applications where some computing systems need have their system clocks running synchronized within a small margin and eventually need to be in sync with the global time. There are different solutions for this, i.e. the W3…
As a financial services provider, your business is impacted by two of the strictest federal regulations on record: the Sarbanes-Oxley Act and the Gramm-Leach-Bliley Act. Correctly implementing faxing into your organization to provide secure, real-ti…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…

649 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question