Stack Overflow Error

Giganews Newsgroups
Subject: Stack Overflow Error
Posted by:  Dominic Godin (nospam@plz)
Date: Fri, 21 May 2004

Hi,

I'm using Delphi 5 to upload some text files to an ftp server.  Our
application uses Indy 9.00.11.  We have been using this application without
a problem for about a year.  One of our clients has rebuilt their server
and we reinstalled this application on it.  It now throws a Stack Overflow
error when trying to run the following code.

    IdFtpCon.Host := ftpServer;
    IdFtpCon.Port := ftpPort;
    IdFtpCon.Username := userName;
    IdFtpCon.Password := password;
    IdFtpCon.ReadTimeout := timeOut * 1000;
    IdFtpCon.Connect;

The server has a connection to the internet and other FTP clients (tried
smartFTP) work without a problem. I've upgraded to Indy 9.00.14 but this
didn't solve the problem.

Any ideas?

Dominic Godin

Replies