This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Anonymous ftp - ls hangs


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@Salira.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@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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]