This is the mail archive of the cygwin-apps@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]

Re: [PATCH] setup.exe - problem with FTP


This will go in but not immediately, I've a couple of pending things in my
sandbox to sort out first.

Rob
----- Original Message -----
From: "Marcel Telka" <marcel@telka.sk>
To: <cygwin-apps@cygwin.com>
Sent: Wednesday, July 10, 2002 5:01 PM
Subject: Re: [PATCH] setup.exe - problem with FTP


>
> Napísané dňa 08.07.2002 15:27:30 +0200, (autor: Marcel Telka):
> > Hi.
> >
> > I've found little problem in the cygwin setup program:
> >
> > There is no possibility to download files from some FTP servers (like
> > djb's publicfile ftpd http://cr.yp.to/publicfile/ftpd.html) because
> > the setup scans for '(' in a PASV FTP reply (code 227).
> >
> > djb's ftpd uses this format for a PASV reply:
> >
> >   227 =h1,h2,h3,h4,p1,p2
> >
> >
> > RFC 1123 (in section 4.1.2.6) says:
> >
> > <cite>
> > The format of the 227 reply to a PASV command is not well standardized.
> > In particular, an FTP client cannot assume that the parentheses shown
> > on page 40 of RFC-959 will be present (and in fact, Figure 3 on page 43
> > omits them). Therefore, a User-FTP program that interprets the PASV
reply
> > must scan the reply for the first digit of the host and port numbers.
> > </cite>
> >
> > I've considered this as a bug in the setup and created patch for
> > nio-ftp.cc
> > file (see attachment). Please apply this patch to the CVS tree. Thanks.
>
> Please.
>
> --
> +-------------------------------------------+
> | Marcel Telka   e-mail:   marcel@telka.sk  |
> |                homepage: http://telka.sk/ |
> |                jabber:   marcel@jabber.sk |
> +-------------------------------------------+
>


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