FTP Putfile Error 10061

Technical support and scripting issues

Moderators: JRL, Dorian (MJT support)

Post Reply
griffgriffgriff
Newbie
Posts: 1
Joined: Wed Feb 21, 2007 3:45 pm

FTP Putfile Error 10061

Post by griffgriffgriff » Mon Apr 27, 2009 3:05 pm

When using the FTPPutFile> command I get the FTPResult: [500 ESocketException: Error 10061 in function Connect
Connection refused] This script had been working for several months without any problems. I have not made any changes to the script and I can still ftp the files manually with FileZilla. Any ideas on what is causing this?

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Mon Apr 27, 2009 3:19 pm

According to:
http://support.ipswitch.com/kb/WSK-19980709-EM01.htm
Question/Problem: WSAECONNREFUSED (10061) Connection refused

Answer/Solution: Connection refused. No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host.

User suggestions: Either you went to the wrong host, or the server application you're trying to contact isn't executing. Check the destination address you are using. If you used a hostname, did it resolve to the correct address? If the hostname resolution uses a local hosttable, it's possible you resolved to an old obsolete address. It's also possible that the local services file has an incorrect port number (although it's unlikely).
Could also be your firewall.
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts