X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,HK_OBFDOM,HK_OBFDOMREQ,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Thorsten Kampe Subject: Yafc (FTP) and Cygwin Date: Sat, 6 Jun 2009 16:08:20 +0200 Lines: 38 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit User-Agent: MicroPlanet-Gravity/2.80.1 X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Hi, I'm trying to run the command line FTP/SFTP client Yafc[1]. Yafc doesn't support as many protocols as lftp but the user interface and handling is - in my opinion - ever better than lftp. Yafc compiles fine on Cygwin 1.5.25 but when I try to connect to *any* FTP site I get: - Connecting to picard.provo.novell.com (130.57.1.88) at port 21... - Server has closed control connection - Sleeping 10 seconds before connecting again (attempt #2)... [etc...] A network trace shows the following: 50324 > ftp [SYN] ftp > 50324 [SYN, ACK] 50324 > ftp [ACK] 50324 > ftp [FIN, ACK] ftp > 50324 [ACK] Response: 220 Welcome to ftp.novell.com, powered by SUSE Linux 50324 > ftp [RST, ACK] ftp > 50324 [FIN, ACK] 50324 > ftp [RST] A simultaneous strace shows: __set_winsock_errno: connect:788 - winsock error 10036 -> errno 119 __set_winsock_errno: recvmsg:1246 - winsock error 10022 -> errno 22 Things to notice are that - while every FTP session fails - SFTP works fine! And the above FTP session also works fine when I replace cygwin1.dll with a Cygwin 1.7 snapshot...! Does anyone have an explanation what is going wrong with Yafc, FTP and Cygwin 1.5?! Thorsten [1] http://yafc.sourceforge.net/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/