[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: weird ftp behaviour
- To: Alon Barzilai <alon(at-nospam)skyline.co.il>
- Subject: Re: weird ftp behaviour
- From: Ariel Biener <ariel(at-nospam)fireball.tau.ac.il>
- Date: Tue, 24 Jul 2001 17:13:18 +0300 (IDT)
- cc: Israeli Linux Mailing List <linux-il(at-nospam)linux.org.il>
- Delivered-To: linux.org.il-linux-il@linux.org.il
- In-Reply-To: <3B5D883C.A1E421A4@skyline.co.il>
- Sender: linux-il-bounce(at-nospam)cs.huji.ac.il
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