On Thu, 2 Mar 2000, Leoind Pauzner wrote: > Hi, I was trying to contact ftp://space.mit.edu/pub/davis/slang with lynx, > (the address is suggested in lynx INSTALLATION file). > Unfortunately, it hangs for a while before I got anything reasonable > (directory listing). > No problem with "native" ftp - I tried it with still-dev.18-based code. The only thing I noticed that was slightly unusual is that the server doesn't recognized the SYST command. Lynx uses this (as one factor) to determine what kind of server it is talking to. Excerpt from -trace: --- snip --- FTP connected, socket 4 control 136061120 Rx: 220 space FTP server (SunOS 4.1) ready. Tx: USER anonymous^M Rx: 331 Guest login ok, send ident as password. Tx: PASS [EMAIL PROTECTED]^M Rx: 230 Guest login ok, access restrictions apply. HTFTP: Logged in. Tx: SYST^M Rx: 500 'SYST': command not understood. Tx: PWD^M Rx: 257 "/" is current directory. Tx: MACB^M Rx: 500 'MACB': command not understood. HTFTP: Treating as Unix server. HTFTP: Opened master socket number 5 --- snip --- Lynx eventually comes to the right conclusion ("Treating as Unix server"), but only after two more command/response exchanges (the PWD and MACB). This could slow down the acces ass a whole noticeably, esp. if the server is busy and takes some time to respond. Lynx could be tweaked to take the server type from the initial greeting "220 space FTP server (SunOS 4.1) ready." But really, the server should recognize SYST and tell us that it's UNIX in the SYST response. Klaus
