Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm 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 X-Injected-Via-Gmane: http://gmane.org/ To: cygwin AT cygwin DOT com From: Andrew DeFaria Subject: Anonymous ftp - ls hangs Date: Fri, 05 Dec 2003 12:43:16 -0800 Lines: 67 Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet AT sea DOT gmane DOT org User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5) Gecko/20031013 Thunderbird/0.3 X-Accept-Language: en-us, en I decided to resurrect anonymous ftp on a server here under Cygwin and managed to get it working again except that when one ftp's and types ls the ls hangs. I search the list and found one person having a similar problem but his question was never answered. Why is ls hanging and how do I fix it? Cygwin 1.5.4 inetutils 1.3.2-24 This hangs both under regular ftp and ncftp. ncftp's trace file shows: SESSION STARTED at: Fri Dec 5 12:38:49 2003 Program Version: NcFTP 3.1.4/023 Jul 02 2002, 05:24 AM Library Version: LibNcFTP 3.1.4 (July 2, 2002) Process ID: 4000 Platform: cygwin_nt-5.0 Hostname: adefaria.SALIRA.COM (rc=3) Terminal: cygwin 12:38:49 Fw: firewall.SALIRA.COM Type: 0 User: adefaria Pass: ******** Port: 21 12:38:49 FwExceptions: .SALIRA.COM,localhost,localdomain 12:38:49 Resolving sons-clearcase... 12:38:49 Connecting to 192.168.0.99... 12:38:49 LibNcFTP 3.1.4 (July 2, 2002) compiled for cygwin_nt-5.0 12:38:49 Uname: CYGWIN_NT-5.1|adefaria|1.5.5(0.94/3/2)|2003-09-20 16:31|i686 12:38:49 Logging in... 12:38:49 220: Welcome to sons-clearcase's ftp service 12:38:49 SONS-CLEARCASE FTP server (GNU inetutils 1.3.2) ready. 12:38:49 Connected to 192.168.0.99. 12:38:49 Cmd: USER anonymous 12:38:49 331: Guest login ok, send your complete e-mail address as password. 12:38:49 Cmd: PASS ADeFaria AT Salira DOT com 12:38:50 Logging in... 12:38:50 230: N O T I C E 12:38:50 ----------- 12:38:50 12:38:50 You have been connected to the common anonymous ftp area. There have been 12:38:50 directories created here to mimick the ftp structure that Simon's FTP server 12:38:50 used to provide (e.g. system1-12). 12:38:50 Guest login ok, access restrictions apply. 12:38:50 Cmd: PWD 12:38:50 257: "/" is current directory. 12:38:50 Logged in to 192.168.0.99 as anonymous. 12:38:50 Cmd: FEAT 12:38:50 500: 'FEAT': command not understood. 12:38:50 Cmd: HELP SITE 12:38:50 214: The following SITE commands are recognized (* =>'s unimplemented). 12:38:50 UMASK IDLE CHMOD HELP 12:38:50 Direct comments to ftp-bugs AT SONS-CLEARCASE. 12:38:50 Logged in to sons-clearcase. 12:38:50 Cmd: CLNT NcFTP 3.1.4 cygwin_nt-5.0 12:38:50 500: 'CLNT NcFTP 3.1.4 cygwin_nt-5.0': command not understood. 12:38:52 > ls 12:38:52 Cmd: PASV 12:38:52 227: Entering Passive Mode (192,168,0,99,13,115) 12:38:52 Cmd: LIST 12:38:52 150: Opening ASCII mode data connection for '/bin/ls'. But then also hangs. There is an ls process running on the server that appear to be just hanging there. -- 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/