[twsocket] FW: problem with Httpcli and Tstream and Delphi 2009

2009-12-18 Thread David Rodriguez Salazar
Hello Francois, I have a problem with this component ICSHttpprotocol under delphi 9, the problem is when I send data using post, the data is converted in the new style of delphi 9 (char = 2 bytes), and the data is sent corrupted, so the server fails. The problem is when the data is copy fro

Re: [twsocket] NO_ADV_MT and Multithreaded application

2009-12-18 Thread Fastream Technologies
Hello, We can donate $60 to the coder who can do this until Jan 1st 2010 as performance is CRITICAL for some of our web reverse proxy customers. Currently it can answer 10600 requests/sec from cache and looking for even further improvement! (IIS7 can do 18000 req/s). Regards, SZ On Wed, Dec 16,

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Francois PIETTE
Hello Graham, We cannot implement every possible variation. The component would become huge and difficult to maintain. I think this kind of change could easily be done in a derived component: create your own class inheriting from ICS component and add the required properties method and event.

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Graham Powell
As we are in the mode for changes to the FTP client. One thing that I have always done, which makes my life much easier is to add a "DownloadToString" and "LocalStringName" property. At the moment the FTP client can download data to a file or to a stream. In my application it is much more convenien

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Angus Robertson - Magenta Systems Ltd
>>If you think new methods are needed, you need <...> > Hmm, quite complicated. Okay, I'll do it some time later. Not complicated atall, it's exactly what Francois, Arno and myself have to do when making additions and fixes to ICS. Angus -- To unsubscribe or change your settings for TWSocket m

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Anton Sviridov
>What code is forgotten? FEAT sync and async both work fine. I mean code in DoHighLevelAsync, that is, pushing ftpFctFeat into HighLevelAsync does no matter. >If you think new methods are needed, you need <...> Hmm, quite complicated. Okay, I'll do it some time later. -- Anton -- To unsubscri

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Angus Robertson - Magenta Systems Ltd
> Anyway, I think the code should be added anyway, because it's > likely a forgotten piece. What code is forgotten? FEAT sync and async both work fine. > I'd also like to suggest to add virtual TriggerResponse method If you think new methods are needed, you need to add them to the latest SVN c

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Anton Sviridov
>Sync FEAT works as well, I use it hundreds of times per day. Yes, I know, but I do async operations, and implemented my own Login method which executes all initialization stuff, including SYST and FEAT so that all of these commands are packed into single request. Anyway, I think the code should

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Angus Robertson - Magenta Systems Ltd
> Sorry, I've messed things up. The missing request is FEAT. Sync FEAT works as well, I use it hundreds of times per day. 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://ww

Re: [twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Anton Sviridov
Sorry, I've messed things up. The missing request is FEAT. -- Anton -- 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] Missing part & suggestion to FTPClient

2009-12-18 Thread Angus Robertson - Magenta Systems Ltd
> There's missing part in DoHighLevelAsync - it can't handle > ftpFctSyst request. Here's what should be added: In what way can it not 'handle' the request. The code you provided is already in the component, lines 3534 to 3539 is the current V7 version. Angus -- To unsubscribe or change your

[twsocket] Missing part & suggestion to FTPClient

2009-12-18 Thread Anton Sviridov
Hello! There's missing part in DoHighLevelAsync - it can't handle ftpFctSyst request. Here's what should be added: if ftpFctSyst in FFctSet then begin FFctPrv := ftpFctSyst; FFctSet := FFctSet - [FFctPrv]; SystAsync; Exit; end; And another thing: I suggest