🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.internet.socket
2 messages
2 total messages Started by Davi Vennervald Thu, 06 Sep 2007 12:15
EIdConnClosedGracefully exception
#922
Author: 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
Re: EIdConnClosedGracefully exception
#923
Author: Davi Vennervald
Date: Thu, 06 Sep 2007 12:43
38 lines
2172 bytes
I solved it. I googled the newsgroups for "EIdConnClosedGracefully" and 
I get got this thread

http://groups.google.com/group/borland.public.cppbuilder.internet.socket/browse_thread/thread/cd863af49bc3aa8d/5a8090aac7252794?lnk=st&q=EIdConnClosedGracefully+tidftp&rnum=1#5a8090aac7252794

In it, Gambit suggests to include EIdSilentException to the debugger 
list, which helped me with my problem.

Thx for your answers and work Gambit

\davi

Davi Vennervald skrev:
> 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads