[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev Trouble accessing ftp site

From: Gisle Vanem
Subject: Re: lynx-dev Trouble accessing ftp site
Date: Fri, 26 Dec 2003 23:23:05 +0100

"Doug Kaufman" <address@hidden> said:

> at the packets sent from DOS, it appears that a ftp connection is
> made, but no list of files is generated. I can access the site with a
> standard interactive ftp client from unix, Windows, or DOS, and with
> Internet Explorer from Win98. It works OK when specifying a specific
> file, such as "";,
> but fails with a directory such as "";. The
> server identifies itself as "ProFTPD 1.2.5rc1", and a "SYST" command
> returns "215 UNIX type: L8".

I believe it the same problem I reported in subject  "lynx-dev ftp dir 
Basically it's because Lynx tries a "RETR /pub" before a "CWD /pub". 

Here's a Ethereal trace of lynx with
FTP_PASSIVE:TRUE: -> FTP Request: PASV ->     FTP Response: 227 Entering Passive Mode 
(64,233,208,43,233,61). -> TCP 1049 > ftp [PSH, ACK] Seq=2499419111 
Ack=3610651172 -> TCP 1458 > 59709 [SYN] Seq=3779730612 
Ack=0 Win=8759 Len=0 ->     TCP 59709 > 1458 [SYN, ACK] Seq=3617689512 
Ack=3779730613 -> TCP 1458 > 59709 [ACK] Seq=3779730613 
Ack=3617689513 -> FTP Request: RETR /pub ->     TCP 59709 > 1458 [RST, ACK] Seq=3617689513 
Ack=3779730613 ->     FTP Response: 550 /pub: Not a regular file -> TCP 1049 > ftp [PSH, ACK] Seq=2499419122 
Ack=3610651202 -> FTP Request: CWD /pub ->     FTP Response: 250 CWD command successful. -> TCP 1049 > ftp [PSH, ACK] Seq=2499419132 
Ack=3610651231 -> FTP Request: LIST ->     TCP ftp > 1049 [FIN, ACK] Seq=3610651231 
Ack=2499419138 -> TCP 1049 > ftp [ACK] Seq=2499419138 

The ftp-server sends a 550 code and a RST on the data-connection upon receiving
a RETR for a non-regular file.

On the other hand, IE6 does the PASV command again when receiving a 550 

FTP_PASSIVE:FALSE yields similar results.


; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]