Delphi Ftp Socket Error 10054
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more socket error 10054 connection reset by peer delphi about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users socket error 11004 delphi ftp Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping windows socket error 10054 each other. Join them; it only takes a minute: Sign up IdFtp.List throws socket-error #10054 occasionally up vote 4 down vote favorite 1 When I call the function IdFtp.List(myList, '', false); afterwards I have logged in and changed netsis socket error 10054 the ftp directory, I get a socket-error #10054 exception ("Connection reset by peer.") occesionally. When I call that function e.g. 20 times consecutively I get that exception 1 time. That problem I have only encountered on Vista OS. Does anybody know what the problem is or how I can avoid it? delphi ftp indy10 share|improve this question asked Mar 28 '12 at 13:12 markus_ja 1,81121531 I got a similar issue when connecting, due to the
Wsa Error 10054
FEAT command not being supported on my server, I set idftp.AutoIssueFEAT to false and the problem went away. But you're getting the same issue from a different source, not sure what it is in your case. –Warren P Nov 2 '12 at 18:26 add a comment| 3 Answers 3 active oldest votes up vote 3 down vote Not much you can do about this, because the disconnection is done by the FTP server. You have a few choices: Increase (or disable) the timeout settings (every FTP server has a different name for it) on your FTP Server connection settings. Tell server that you are alive by sending NOOP command periodically (switching to Passive mode can also help). Catch that exception and reconnect silently (This is my preferred solution because we have many FTP servers and I don't trust the sys-admins to change the FTP server time-out settings). Here is a screen-shot from FileZilla FTP server time-out settings: Note that with the above settings, the FTP client will be disconnected after 2 min of non-activity. setting that value to 0, will disable the time-out. share|improve this answer edited Mar 29 '12 at 1:03 answered Mar 28 '12 at 23:27 kobik 13.8k23275 On my machine and on the most other clients it is working without any problem (And therefore I cannot reproduce). I think it depends on the c
Home Submit a Ticket News Troubleshooter Knowledgebase LoginSubscribe Remember me Lost password Knowledgebase (97)AnyCount (227)Projetex (257)Translation Office 3000
Socket Error 10054 Connection Reset By Peer
(171)Other SEARCH Knowledgebase FTP connection: Socket error 10054 Posted by - NA - on 16 July 2008 10:11 PM Q: When I attempt to connect to FTP folder I receive "Error 10054 - Connection reset by peer". A: This error indicates that an existing connection was forcibly closed by the http://stackoverflow.com/questions/9908265/idftp-list-throws-socket-error-10054-occasionally remote host. This normally results if the peer application on the remote host is suddenly stopped, the host is rebooted or the remote network was somehow disabled. 1. The most common cause for a socket error 10054 is the use of an invalid FTP host address. Double-check to make sure that http://www.aithelp.com/index.php?/Knowledgebase/Article/View/204/0/ftp-connection-socket-error-10054 you are using the correct FTP host address. 2. A socket error 10054 can also be caused by any of the following reasons: * The remote server was stopped or restarted. * The remote network interface is disabled for some reason. * There are too many users logged on to the server. * Your account on the remote server is restricted for some reason." 3. Also, attempt configuring your FTP connection by enabling or disabling passive transfer (select or clear Passive file transfer checkbox). 4. Please try adding the following application to the list of trusted applications of your firewall: \Projetex 7.0\Projetex Workstation\bin\BkgFtp.exe (296 vote(s)) Helpful Not helpful Comments (0) Post a new commentReply to comment Full Name: Email: Comments: CAPTCHA Verification Please enter the text you see in the image into the textbox below (we use this to prevent automated submissions). Translation Management Tools for Freelance Translators and Translation Agencies
following problem, Indy10 (10.1.5) with Delphi 2006 Pro. ex. idftp.connect; "show error" at the moment of the logon it gives http://www.delphigroups.info/2/4/217215.html back "Socket Error # 10054 Connection reset by peer" this happens alone with some server ftp, with other serveur ftp all ok . I have tested all server with some client ftp and all ok thanks, Antonio Vinci Remy Lebeau (TeamB) Delphi Developer 2007-03-21 06:27:39 PM Re:IDFTP.connect Socket Error # 10054 Connection reset by socket error peer, "Antonio Vinci"