🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.internet.socket
Article #922

EIdConnClosedGracefully exception

#922
From: Davi Vennervald
Date: Thu, 06 Sep 2007 12:15
25 lines
1447 bytes
Hi All

If have this code with Indy 9.0.17 on c++builder 6

ftpConnection = new TIdFTP( NULL );
ftpConnection->Username = "someUser";
ftpConnection->Password = "somePwd";
ftpConnection->Host     = "some.host.com";
ftpConnection->Port     = 21;
ftpConnection->Passive = true;
ftpConnection->TransferType = ftASCII;

and I make a connection that apparently works ( no error message ), but 
when I try to get a list over files with

ftpConnection->List(NULL, "" );

I get the following exception:

"exception EIdConnClosedGracefully with message Connection closed 
gracefully"

Am I doing somthing wrong?

\davi
Technical Details
Message-ID: <46dfef7b$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 11508e,d021b3190440aff6,start
X-Google-Attributes: gid11508e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Thu, 06 Sep 2007 14:15:52 +0200
From: Davi Vennervald <dvennervald@gmail.com>
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.internet.socket
Subject: EIdConnClosedGracefully exception
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 217.157.216.134
Message-ID: <46dfef7b$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1189080955 217.157.216.134 (6 Sep 2007 05:15:55 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail