lynx-dev
[Top][All Lists]
Advanced

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

Re: lynx-dev Can't access FTP server


From: Thomas Dickey
Subject: Re: lynx-dev Can't access FTP server
Date: Fri, 24 May 2002 06:45:33 -0400
User-agent: Mutt/1.2.5i

On Thu, May 23, 2002 at 06:09:49PM -0700, Doug Kaufman wrote:
> I have found a FTP server which I can not access from lynx,
> although it works fine from a command-line ftp client. This is
> "ftp://ftp.franken.de";, the server containing many of the MingW ports
> of GNU programs. I have tried with lynx 2.8.5dev.2 and with
> lynx 2.8.3dev.21, from both unix and Cygwin. I am appending portions
> of the lynx trace file. Does anyone else have a problem with this
> server, or see how to fix it?

I see the same result with dev.7 (links does not connect, but w3m and
opera do - it's possible we may trace w3m and see what it does).

A quick check using strace on w3m shows that it uses a passive connection.
Here are the relevant read/write calls:

716   06:42:02 write(6, "USER anonymous\r\n", 16) = 16
716   06:42:02 read(5, "331 Anonymous login ok, send your complete email 
address as your password.\r\n", 1024) = 76
716   06:42:02 write(4, "\33[45;39H\33[K\33[45;13Hpassword\33[Cto remote 
serve\33[C.\33[1;1H", 55) = 55
716   06:42:02 write(6, "PASS address@hidden", 11) = 11
716   06:42:02 read(5, "230 Anonymous access granted, restrictions apply.\r\n", 
1024) = 51
716   06:42:02 write(6, "TYPE I\r\n", 8) = 8
716   06:42:02 read(5, "200 Type set to I.\r\n", 1024) = 20
716   06:42:02 write(6, "PASV\r\n", 6)  = 6
716   06:42:02 read(5, "227 Entering Passive Mode (193,175,24,42,10,81).\r\n", 
1024) = 50
716   06:42:03 write(6, "RETR /\r\n", 8) = 8
716   06:42:03 read(5, "550 /: Not a regular file\r\n", 1024) = 27
716   06:42:03 write(6, "SYST\r\n", 6)  = 6
716   06:42:03 read(5, "215 UNIX Type: L8\r\n", 1024) = 19
716   06:42:03 write(6, "CWD /\r\n", 7) = 7
716   06:42:03 read(5, "250 CWD command successful.\r\n", 1024) = 29
716   06:42:03 write(6, "PASV\r\n", 6)  = 6
716   06:42:03 read(5, "227 Entering Passive Mode (193,175,24,42,10,83).\r\n", 
1024) = 50
716   06:42:03 write(6, "LIST\r\n", 6)  = 6
716   06:42:03 read(5, "150 Opening ASCII mode data connection for file 
list\r\n", 1024) = 54
716   06:42:03 read(7, "drwxr-xr-x   3 ftpknf   ftp         20480 May 18 21:14 
incoming", 1024) = 63
716   06:42:03 read(7, "\r\ndrwxr-xr-x  15 ftpknf   root         4096 Jan 30 
09:09 pub\r\n", 1024) = 62
716   06:42:03 read(7, "", 1024)        = 0
716   06:42:03 read(5, "226 Transfer complete.\r\n", 1024) = 24
716   06:42:03 write(6, "QUIT\r\n", 6)  = 6
716   06:42:03 read(5, "221 Goodbye.\r\n", 1024) = 14
 
>     Rx: 220-
> Adding message to help cache: 
> 
>     Rx:     __________________________________________
>     Rx:      _______   /    _/  /       /  ______/ ____
>     Rx:       _____   /  _/    /_/     /  /      _______
>     Rx:        ___   /_/      /  _/   /  /___/ __________
>     Rx:      ____   /  _/    /    _/ /  /   ___________
>     Rx:    _____  _/    _/ _/      _/ _/ ____________           
> Kommunikationsnetz
>     Rx:  __________________________________________                    
> Franken e.V.
>     Rx:  
>     Rx:  
>     Rx:  Willkommen auf dem FTP-Server des KommunikationsNetz Franken e.V.
>     Rx:  
>     Rx:  
>     Rx:  Bei Problemen mit der Benutzung dieses Server bitte Mail an:
>     Rx:  
>     Rx:      address@hidden
>     Rx:  
>     Rx:  Viel Spass !
>     Rx: 220 ProFTPD 1.2.5rc1 Server (KNF ftp Server) [ilsa.franken.de]
>   Tx: USER anonymous
>     Rx: 331 Anonymous login ok, send your complete email address as your 
> password.
>   Tx: PASS address@hidden
>     Rx: 230 Anonymous access granted, restrictions apply.
> HTFTP: Logged in.
>   Tx: SYST
>     Rx: 215 UNIX Type: L8
> HTFTP: Treating as Unix server.
> HTFTP: Opened master socket number 5
> 
> ...
> 
>     Rx: 200 PORT command successful.
> HTFTP: Port defined.
> HTParse: aName:`ftp://ftp.franken.de/'
>    relatedName:`'
> HTParse: (ABS)
> HTParse:      result:/
> HTFTP: UnEscaped /
>   Tx: RETR /
>     Rx: 550 /: Not a regular file
>   Tx: CWD /
>     Rx: 250 CWD command successful.
>   Tx: LIST
>     Rx: 425 Can't build data connection: Connection refused
> HTAccess:  status=-4
> Can't Access `ftp://ftp.franken.de/'
> HTAccess: Can't access `ftp://ftp.franken.de/'
> 
> Alert!: Unable to access document.
> 
> __ 
> Doug Kaufman
> Internet: address@hidden
> 
> 
> ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden

-- 
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net

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

reply via email to

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