[twsocket] My Utilities UPDATED
Thu, 01 Jun 2000 10:05:41 EEST
I have set the username and the port setting and the proxy/firewall settings
BEFORE this code segment. The point is it works very well under normal
conditions. The problem is, when a problem occurs, such as a bad address or
a port, I cannot catch the exception. If anyone can send me a working
(CATCHING) code I will be very happy.(Or tell me what's wrong with my code.)
Your point about making the program compatible with all components is right
but first I have to solve this problem.
By the way, If anyone is interested in my current project: MULTI-THREADED
FTP CLIENT, you can download it from http://www.fastream.com/FTPpp2.EXE
I will be very happy if I receive some feedback.
From: Davie <firstname.lastname@example.org>
Subject: Re: [twsocket] My Utilities UPDATED
Date: Wed, 31 May 2000 11:16:29 -0500
Hmmm, my logic always sets the username and password and THEN I do the
ALSO, I take each method like CONNECT ABORT GET etc... And I make a seperate
function call for each of them. THEN If I need to use a different set of
components, my LOGIC STAYS the same and the only thing I change basically
the core functions :) Try that.
Raptor G wrote:
> I am having diffuculty in catching FtpExceptions under TFtpClient. The
> is as follows:
> DisconnectButton->Enabled = true;
> catch(FtpException &e) // never reach here
> When I write define an invalid internet address, After the line Connect,
> calls OnError and the continues execution and gives the "Component not
> connected" error at each FTP-> command. What I want is it to catch the
> exception and jump to the end of the try catch block.
> Any comments?
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
> Visit our website at http://www.rtfm.be/fpiette/indexuk.htm
TWSocket mailing list [http://elists.org/mailman/listinfo/twsocket]
Visit our website at http://www.rtfm.be/fpiette/indexuk.htm
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com