|Subject:||Re: Value for WideString Parameter "DIR_LIST" too long|
|Posted by:||Monte Carver (Mon…@jmcvr.com)|
|Date:||Thu, 13 Aug 2009|
Monte Carver wrote:
> Indy GURUS,
> I have a FTP client process implemented, which iterates thru a list of
> FTP servers, and pull down various data files.
> However, when I attempt to perform a "IdFTP.List" on a given FTP
> server, the following error surfaces:
> [ An exception was raised on the server: SelectQuery. Value for
> WideString Parameter "DIR_LIST" too long ]
> Using FileZilla, I am able to view the given directory list with no
> problems. The difference I notice is that the problem FTP server has
> MANY files in the given directory.
> I presume this is a bug. Has this issue been fixed? Where can I find
> the patch?
> Monte Carver
FWIW, the error appears to reside in
[ procedure TIdIOHandler.ReadStream(AStream: TStream; AByteCount:
AReadUntilDisconnect: Boolean); ]
Also, with advance notice, I could provide a FTP server where this
error will easily surface.
Value for WideString Parameter "DIR_LIST" too long posted by Monte Carver on Thu, 13 Aug 2009