lynx-dev
[Top][All Lists]
Advanced

[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 "ftp://ftp.oldskool.org/pub/tvdog/internet/README";,
> but fails with a directory such as "ftp://ftp.oldskool.org/pub";. 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 
listing". 
Basically it's because Lynx tries a "RETR /pub" before a "CWD /pub". 

Here's a Ethereal trace of lynx ftp://ftp.oldskool.org/pub with
FTP_PASSIVE:TRUE:

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

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 
response.

FTP_PASSIVE:FALSE yields similar results.

--gv


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

reply via email to

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