Angus Robertson - Magenta Systems Ltd wrote:
>> Given you want best performance one should use the async/none-blocking
>> methods, however in TFtpCli each method has also a blocking (sync)
>> counterpart that allows you to code more like the Indy way (slow).
>
> Indy might be slow, I really don't
> Given you want best performance one should use the async/none-blocking
> methods, however in TFtpCli each method has also a blocking (sync)
> counterpart that allows you to code more like the Indy way (slow).
Indy might be slow, I really don't know, but I don't see using the sync
methods in IC
Mike McGreek wrote:
> Arno, I think that will be the easiest way. I'll try it. I readed the
> whole code and understand it.
That's great, then you have probably realized that in comparison with Indy
ICS requires a totaly different programming stile, since virtually anything
is event-driven.
Given
Arno, I think that will be the easiest way. I'll try it. I readed the whole
code and understand it. It is realy good written. Also the infos about each
function. Great work. It is more stabil than Indy10. I'll keep on trying ...
Probably FtpCli.StatusCode is what you are looking for?
Arno Gar
Mike McGreek wrote:
> You understand me wrong. I do the connect-call then the other calls. I
> want to know what I need minimal to get the Error-Messages and the normal
> messages from the server.
>
> Here a example:
>
> I connect to the server. The server send me 421 back. If it is 421 my
> pr
Mike McGreek wrote:
> You understand me wrong. I do the connect-call then the other calls. I
> want to know what I need minimal to get the Error-Messages and the normal
> messages from the server.
>
> Here a example:
>
> I connect to the server. The server send me 421 back. If it is 421 my
> pr
Use individual component method for each step. Foe exemple, instead of
Connect, use Open, User and Pass. So at each step you have the status in
properties StatusCode and LastResponse.
You should have a look at FtpCli.pas source code and see all the properties,
events and methods. All names are rea
I tried try/except.
try
FTPClient1.connect
except
showmessage(msg);
I never got a errormessage. I think I missed to definie msg.
... any Idea?
the other things I'll look into it ...
Send instant messages to your online friends http://uk.messenger.yahoo.com
--
To unsubscribe or chan
You understand me wrong. I do the connect-call then the other calls. I want to
know what I need minimal to get the Error-Messages and the normal messages from
the server.
Here a example:
I connect to the server. The server send me 421 back. If it is 421 my program
should wait 2 min for exampl
> I don't see any error-message. For example the FTP is not connected,
delphi2005 gives me the error-message with the option to break or continue.
i think i miss something.
>
> So what do I need minimal to get the error-messages?
Use OnBgException event.
Use Try/Except
Use Application.OnException
Mike McGreek wrote:
> I don't see any error-message. For example the FTP is not connected,
> delphi2005 gives me the error-message with the option to break or
> continue. i think i miss something.
> So what do I need minimal to get the error-messages?
First you are talking about an exception an
Win32, Yes.
I had a look into Your FTPTST example. So I need only the status-function. How
do You display Your messages? I can't show the messages in my program. In
FTPTST is a display-function.
procedure Display(const Msg: String);
procedure DisplayHandler(Sender: TObject; var Msg :
> I'm coding with Delphi 2005.
Win32 personnality ?
> Till now I don't see the ftp-status. I like to have 3
> checkboxes for each status (Online, 421, Offline).
> If one status is true the checkbox for the status
> should be checked.
> I know that FTPCLI has a status-Option with a log.
> How can
I'm coding with Delphi 2005.
Till now I don't see the ftp-status. I like to have 3
checkboxes for each status (Online, 421, Offline).
If one status is true the checkbox for the status
should be checked.
I know that FTPCLI has a status-Option with a log.
How can I do it easily to get the status t
OK, I have applyed it to my source. Will be visible next upload.
--
[EMAIL PROTECTED]
http://www.overbyte.be
- Original Message -
From: "Maurizio Lotauro" <[EMAIL PROTECTED]>
To: "ICS support mailing"
Sent: Saturday, April 16, 2005 3:16 AM
Subject: Re: [twsocket] New release: minor bug f
15 matches
Mail list logo