[twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-04 Thread Graham Powell
Every time I upgrade from the old FPiette software to any of the Overbyte
versions I have been experiencing the occasional problem. I cannot reproduce
the problem in the office, but customers report odd effects. Each time the
finger starts to point to the FTP component. Bear in mind that the customers
network environment is much more complex than my simple arrangement.

The application basically sends a LIST command to the server every 3 seconds
and depending upon what comes back, there may be various RETR commands.

So my question to anybody in the know is this: Is there any fundamental
difference in the way these two FTPClient components work?

Maybe regarding error handling, network timeouts etc.

Now that the development has moved on to Delphi 2010, I seem to be forced
into the Overbyte V7.07 components

Any clues much appreciated.

Graham

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-04 Thread Angus Robertson - Magenta Systems Ltd
 Every time I upgrade from the old FPiette software to any of the 
 Overbyte versions I have been experiencing the occasional problem.

What problem?  You need to supply detailed logs showing the specific
component versions being used, commands sent and received and the errors.


 the application basically sends a LIST command to the server every
 3 seconds

Not a good idea to poll a server in this way, some firewalls and routers
may get upset by continual short connections.  I had a cheap Netgear
router a long time ago that broke repeated LIST commands.  This is one
reason I added the FTP CMLSD command to avoid short data connections. 

 So my question to anybody in the know is this: Is there any 
 fundamental difference in the way these two FTPClient components work?

No.

I've had every different version of the FTP client and server components
in use daily for several years, with no long term 'occasional problems'.
There may have been short term problems in new beta versions which were
fixed within a few days. 

Angus

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] FPiette V2.108 vs Overbyte V7.07 - FTP Client

2010-03-04 Thread Francois PIETTE

Every time I upgrade from the old FPiette software to any of the Overbyte
versions



So my question to anybody in the know is this: Is there any fundamental
difference in the way these two FTPClient components work?


These are basically the same components. What you name Overbyte versions 
is ICS-V6 and ICS-V7 where the unit names has been prefixed by 
OverbyteIcs. Of course there where evolutions, but basically the component 
are fundamentally identicals.


As Angus said, please provide a diagnostic. Saying you have occasional 
problems do not permit anyone to help you. The component are very stable so 
it is likely an external problem.


--
francois.pie...@overbyte.be
The author of the freeware multi-tier middleware MidWare
The author of the freeware Internet Component Suite (ICS)
http://www.overbyte.be

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


[twsocket] Violation Error on FTP Server V5

2010-03-04 Thread Arnold FLUTEAUX
Hi,

 

I use the V5 ICS package  1.52.

 

I've a timer which checks all 15 seconds that there are not a time out on
client to kill it. 

And In this procedure , I had a violation error aleatory. I used V1.47 ICS.
So I've compiled with 1.52 but I don't know yet if the problem is solved or
not.

 

In this procedure, when the timeout expired, I launch a postmessage to kill
the inactive client so that:

PostMessage(ftpserveur.Handle, WM_FTPSRV_CLOSE_REQUEST,

 
WPARAM(ftpserveur.Client[I].ID),LPARAM(ftpserveur.Client[I]));

 

But after this postmessage, my code doesn't pass in OnclientDisconnect
event. It's hard to test because it's aleatory.

 

I've the same case when I receive a QUIT command. I do nothing but my code
doesn't pass in OnclientDisconnect event. It's also aleatory.

 

Have you got an idea , please ?

 

Maybe in the first case, I can replace postmessage by client.closedelayed ?

 

I'm sorry but for the time being, I can't compile whit V7.

 

Thanks.

 

 

Arnold

 

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be


Re: [twsocket] Violation Error on FTP Server V5

2010-03-04 Thread Angus Robertson - Magenta Systems Ltd
 In this procedure, when the timeout expired, I launch a postmessage 
 to kill the inactive client so that:
 
 PostMessage(ftpserveur.Handle, WM_FTPSRV_CLOSE_REQUEST,
 WPARAM(ftpserveur.Client[I].ID),LPARAM(ftpserveur.Client[I]));

If you don't want to update to a tested and supported version, you can
look at the way client timeout is handled in the current version of add
that code to your old version.  

Angus
  

--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be