Re: FTP Client to Microsoft FTP - Welcome message

Giganews Newsgroups
Subject: Re: FTP Client to Microsoft FTP - Welcome message
Posted by:  Remy Lebeau \(Indy Team\) (no.spam@no.spam.com)
Date: Mon, 9 Mar 2009

"Billie Bob" <billieb…@hotmail.com> wrote in message
news:1CAC26921279E340billieb…@hotmail.com...

> Trying to connect to Microsoft FTP server which has a Welcome
> message of
<snip>
> Using the client ftp example with latest version of Indy - it won't
> connect get ' Reply Code is not valid (****)'
> if i remove the +44 it works

TIdReplyFTP uses IdGlobal.IsNumeric() internally, which in turn ultimately
calls the compiler's Val() function.  A 3-digit string of '+44' is
considered a valid integer by Val(), which is apparently throwing off
TIdReplyFTP's processing.  That will need to be addressed.

--
Remy Lebeau (TeamB)

Replies

None

In response to

FTP Client to Microsoft FTP - Welcome message posted by Billie Bob on Mon, 9 Mar 2009