Another new questions, using existing topic.
It's concerning error handling in FTPCli. I see that many local errors, such as
exception when opening local stream, are converted into ftp error messages. How
do I handle them (for example, I want to track file creation errors)? And
another question
> Angus, I haven't found OnRetrSessionClosed in
> OverbyteIcsFtpCli.pas, are you sure it's the right name?
No, it was from the server as well
In the server, all events trigger OnRequestDone, and you do a case on
RqType to find which event just finished:
case RqType of
ftpConnectAsync://
Angus, I haven't found OnRetrSessionClosed in OverbyteIcsFtpCli.pas, are you
sure it's the right name?
I have file with following latest update in history:
Apr 16, 2009 V7.07 Angus assume STREAM64, USE_MODEZ, USE_ONPROGRESS64_ONLY,
USE_BUFFERED_STREAM
Remove old conditional and supp
> >Probably historical, over the years the code gets standarised and
> >simplified if possible, but sometimes old bits get left behind.
> So, these bits will be sometime replaced by new ones?
Yes, a lot of old conditional code for obsolete compilers is slowly being
removed from v7, ditto duplicat
>Which SVN ? You have ICS-V5, ICS-V6 and ICS-V7. Latest code is in ICS-V7.
Hmm. Version 7 points that it's ICS 7, doesn't it? Unit from
\SVN\OverbyteIcsV6\ics\branches\icsv7\Delphi\Vc32
--
Regards, Anton
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.
> >Exactly what internal version are you looking at, at the top of the unit,
> >only v7.08 and later are getting fixes.
> const
> FtpCliVersion = 707;
> just now updated from SVN.
Which SVN ? You have ICS-V5, ICS-V6 and ICS-V7. Latest code is in ICS-V7.
--
francois.pie...@overbyte.be
Aut
>Probably historical, over the years the code gets standarised and
>simplified if possible, but sometimes old bits get left behind.
So, these bits will be sometime replaced by new ones?
>Exactly what internal version are you looking at, at the top of the unit,
>only v7.08 and later are getting fi
> but there's also a specific method DestroyLocalStream, what's the
> difference?
Probably historical, over the years the code gets standarised and
simplified if possible, but sometimes old bits get left behind.
Exactly what internal version are you looking at, at the top of the unit,
only v7.
1) The destroying of FLocalStream is widely used as
if Assigned(FLocalStream) then begin
FLocalStream.Destroy;
FLocalStream := nil;
end;
but there's also a specific method DestroyLocalStream, what's the difference?
Maybe it would be better to