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

Re: weird ftp behaviour



On Tue, 24 Jul 2001, Alon Barzilai wrote:


void
setpeer(int argc, char *argv[])
{
        char *host;
        unsigned short port;

... 


I changed the sources to: unsigned int port;  , compiled, and it works.


--Ariel

> hi,
> I got the same result with rh7.1 32 bit,
> however, on 64 bit it worked fine. both are ftp-0.17-7.
> go figure...
> 
> Alon
> 
> 
> Ariel Biener wrote:
> >
> > rpm -qa|grep ftp
> > ftp-0.17-7
> >
> > ftp some.site.com 62320
> > some.site.com: bad port number-- 62320
> > usage: ftp host-name [port]
> > ftp>
> >
> > ncftp ftp://some.site.com:62320
> >
> > Connecting to xxx.yyy.zzz.www...
> > ProFTPD 1.2.2rc3 Server (ProFTPD Default Installation) [some.site.com]
> >
> > This looks like a bug in the ftp client. Anyone else experienced this ?
> >
> > --Ariel
> >
> > --
> > Ariel Biener
> > e-mail: ariel@post.tau.ac.il
> > PGP(6.5.8) public key http://www.tau.ac.il/~ariel/pgp.html
> >
> > =================================================================
> > To unsubscribe, sendmail to linux-il-request@linux.org.il with
> > the word "unsubscribe" in the message body, e.g., run the command
> > echo unsubscribe | mail linux-il-request@linux.org.il
> 

--
Ariel Biener
e-mail: ariel@post.tau.ac.il
PGP(6.5.8) public key http://www.tau.ac.il/~ariel/pgp.html


=================================================================
To unsubscribe, send mail to linux-il-request@linux.org.il with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail linux-il-request@linux.org.il