Re: [twsocket] SSL Help

2008-08-18 Thread Arno Garrels
job is to verify the server certificate(s). The client checks the received certificate(s) against a list of trusted root certificates, have look at the Https demo application. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Hein du Plessis wrote: Hi guys I need

Re: [twsocket] SSL Help

2008-08-18 Thread Arno Garrels
have a published property OnSslCliCertRequest. I've purchased Clever ICS and I get a local certificate not found or equivalent and they don't have samples of implementing it either. What is Clever ICS? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks, Hein

Re: [twsocket] SSL Help

2008-08-18 Thread Arno Garrels
://www.overbyte.be Can I buy it? It is freeware now. It's really difficult for me to deduce how to implement SSL as a user. Indeed SSL is not trivial. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Thanks, Hein -Original Message- From: [EMAIL PROTECTED

Re: [twsocket] [SSLHttpServer] AcceptableHost and BackgroundException

2008-08-19 Thread Arno Garrels
an unhandled exception is raised in the various event handlers and at some other places. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] Rs: [SSLHttpServer] AcceptableHost andBackgroundException

2008-08-19 Thread Arno Garrels
that you deploy the self-compiled libraries even though they are a bit bigger. Currently OpenSSL v0.9.8e is the only version supported and tested. Any other version will raise an exception. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your

[twsocket] OpenSSL v0.9.8h

2008-08-19 Thread Arno Garrels
understand the difference. Check the SVN repository it now runs with OpenSSL v0.9.8e to v0.9.8h. svn://svn.overbyte.be/ics/ http://svn.overbyte.be:8443/svn/ics/ ( User: ics Password: ics ) Latest OpenSSL installers are available here: http://www.slproweb.com/products/Win32OpenSSL.html -- Arno

Re: [twsocket] OpenSSL v0.9.8h

2008-08-19 Thread Arno Garrels
versions as all he could uncomment directive {#$DEFINE BEFORE_OSSL_098E} in OverbyteIcsSslDefs.inc and rebuild all. -- Arno Garrels -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be

Re: [twsocket] OpenSSL v0.9.8h

2008-08-19 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: I've tried to install: Win32 OpenSSL v0.9.8h Light But none of the installers finish, they just hang up right at the end. Ditto, I just tried to use the light installer, and had to crash it using Task Manager. But it did copy the actual SSL

Re: [twsocket] OpenSSL v0.9.8h

2008-08-20 Thread Arno Garrels
DLLs into the windows directory OK, which is not exactly a mind blowing complicated installation process. And the guy want $250 donations for his 'installer'. Just tried the 6MB Installer download (Win32OpenSSL-0_9_8h.exe) and that one installed o.k. -- Arno Garrels -- To unsubscribe or change

[twsocket] FTP and Utf-8 in ICSv7

2008-08-23 Thread Arno Garrels
and to String/UnicodeString in Delphi 2009 and later. I think this feature cannot be implemented w/o breaking existing code. Has anybody experience with WideString? This string type is not reference counted and may introduce a serious performance penalty. -- Arno garrels -- To unsubscribe

Re: [twsocket] FTP and Utf-8 in ICSv7

2008-08-24 Thread Arno Garrels
as ?. However if you use, for instance the TNT Unicode controls even Chinese file names are displayed properly. Isn't it too simple ? Did I miss something ? I think it is more complicated, no clean solution and confusing. -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] FTP and Utf-8 in ICSv7

2008-08-24 Thread Arno Garrels
utf-8 encoded. BTW: Actually one character may be encoded in up to 4 bytes in UTF-8. -- Arno Garrels -- 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] FTP and Utf-8 in ICSv7

2008-08-24 Thread Arno Garrels
François quand l'été arrive.txt -- Arno Garrels -- [EMAIL PROTECTED] The author of the freeware multi-tier middleware MidWare The author of the freeware Internet Component Suite (ICS) http://www.overbyte.be - Original Message - From: Angus Robertson - Magenta Systems Ltd

Re: [twsocket] Porting ICS MidWare to Delphi 2009

2008-08-27 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Maurizio Lotauro wrote: What you described is more or less what I expected with that kind of changes in the compiler. I expected similar problems with the introduction of 64 bit. CG did a rather good job to make conversion

Re: [twsocket] http digest access authentication

2008-08-28 Thread Arno Garrels
emanuele bizzarri wrote: Hi all, exists any THttpCli implementation that support digest access authentication? Good question, I always wondered why the guy who implemented digest auth in the HTTP server didn't add it to the THttpCli as well? -- Arno Garrels [TeamICS] http://www.overbyte.be

Re: [twsocket] Can ICS support IOCP?

2008-08-28 Thread Arno Garrels
Bruce Zhao wrote: Hi, all: I want create a Socket Server,need IOCP,but the ICS look like don't support ICOP, it's true? If you mean I/O Completion Ports no, they are not supported by ICS -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe

Re: [twsocket] FTP and Utf-8 in ICSv7

2008-08-29 Thread Arno Garrels
difficult to support ANSI code pages beside the default system code page. d) Explicit conversion from UTF-8 to UTF-16 required with TNT controls. e) Explicit conversion from UTF-8 to ANSI with standard controls in D7-D2007. Maybe I missed 3). Any idea somebody? -- Arno Garrels

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Arno Garrels
Ja wrote: How do I work in blocking mode? ICS works non-blocking: http://wiki.overbyte.be/wiki/index.php/Asynchronous_Paradigm Even though some upper level components support blocking mode as well it's suggested to work asynchronous. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng

Re: [twsocket] Using WSocket in thread...

2008-08-30 Thread Arno Garrels
; finally WSocket1.Free; end; end; OpenSSL in a multi-threaded application you also requires use of one of the components from OverbyteIcsSslThrdLock.pas, otherwise OpenSSL libraries won't be thread-safe, read the comment section of that unit. -- Arno Garrels [TeamICS] http

Re: [twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Arno Garrels
{$IMPLICITBUILD OFF} in ICS package DPR file which equals option Explicit rebuild in package project options. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] A problem with SSL WSocket - WTH?

2008-08-30 Thread Arno Garrels
Ja wrote: Dnia 30 sierpnia 2008 13:50 Arno Garrels [EMAIL PROTECTED] napisał(a): That happens sometimes, no big deal :) Have you tried Rebuild all projects instead of Compile..? Also, it might help to set compiler directive {$IMPLICITBUILD OFF} in ICS package DPR file which equals

Re: [twsocket] FTP and Utf-8 in ICSv7

2008-08-31 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: Before I write the full answer I need an information. I introduced an alias: {$IFDEF D7-D2007} UnicodeString = WideString {$ENDIF} and changed three properties, HostFileName, LocalFileName and HostDir from String

Re: [twsocket] TWSocket. Receiving data very quickly hangs app

2008-09-02 Thread Arno Garrels
even with single client? Localhost connections are very, very fast, that's no real test case. -- Arno Garrels -- 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] TWSocket. Receiving data very quickly hangs app

2008-09-03 Thread Arno Garrels
; end; -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- 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] TWSocket. Receiving data very quickly hangs app

2008-09-03 Thread Arno Garrels
concurently send data. -- Arno Garrels -- 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] FTP and Utf-8 in ICSv7

2008-09-04 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: First for all, sorry for the delay... Thanks, for the response! But first I would like discuss about the wide string published properties. How are they handled by D7 - D2007? [..] But how is it stored in the dfm

Re: [twsocket] Poor man's SSL/TLS?

2008-09-11 Thread Arno Garrels
than an open source library that is standard in unix world, with contributers like IBM etc.? -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html jlist wrote: I was reading TLS's wikipedia page the other day. I find that although it's a lot of work, it is probably not too

Re: [twsocket] ICS sending mail abrubtly stops when line is 149 charlong and contains = anywhere and . as last char

2008-09-12 Thread Arno Garrels
Erik, What component, version and when downloaded. There was an issue with the dot in older THtmlSmtpCli, but that should be fixed in latest ICSV6. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html Erik Van Gorp wrote: We have a Delphi application, using ICS

Re: [twsocket] Unicode and FTP

2008-09-16 Thread Arno Garrels
Hi, Just found a download link of Troy Wolbrink's free TNT Unicode Controls http://mh-nexus.de/en/tntunicodecontrols.php (untested!) While reading the first line I realized that we do not have a Unicode exception class yet. This is very important for both client and server. -- Arno Garrels

Re: [twsocket] Early web server response

2008-09-17 Thread Arno Garrels
-attempt. I'm no expert in HTTP and the THttpCli, so this behaviour of THttpCli might be completely correct. -- Arno Garrels -- 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

Re: [twsocket] Early web server response

2008-09-17 Thread Arno Garrels
this. I don't think it's current THttpCli's behaviour. How to handle authentication methods depending on keep-alive with POST, if the connection has to be dropped? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin

Re: [twsocket] Early web server response

2008-09-18 Thread Arno Garrels
to be triggered in this case. LastResponse should the contain 401/407, possibly you handle this case from that event? -- Arno Garrels -- 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

[twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Arno Garrels
listings and uploads, UTF8 can not be set off so don't send command if ANSI needed. -- Arno Garrels [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket

Re: [twsocket] FTP client supports Utf-8 in ICSv7 now

2008-09-19 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: Do you have aplans for UTF-8 TFtpServer? If so, any ETA? Much of the low level stuff is done, common with the client, the server itself will be done in the next week or two, depending on my other commitments. Should be worth mentioning that some

Re: [twsocket] Early web server response

2008-09-19 Thread Arno Garrels
Maurizio Lotauro wrote: This will work with Basic bu not with NTLM because (IIRC) the authentication phase is started by the server with the first 401. Looks like sending body data must be delayed somehow, realy not nice! Maybe OnSendBegin is the right place: THttpCli.SocketSessionConnected()

Re: [twsocket] Early web server response

2008-09-20 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive [EMAIL PROTECTED] [EMAIL PROTECTED]: [...] However, I wonder how this works in practice. I mean, how do regular browsers deal with it? Good question. Someone that know the html can prepare a page with a text box where write the content to send and a post

Re: [twsocket] Early web server response

2008-09-20 Thread Arno Garrels
Arno Garrels wrote: Maurizio Lotauro wrote: Scrive [EMAIL PROTECTED] [EMAIL PROTECTED]: [...] However, I wonder how this works in practice. I mean, how do regular browsers deal with it? Good question. Someone that know the html can prepare a page with a text box where write

Re: [twsocket] Updating to C++Buulder2009

2008-09-21 Thread Arno Garrels
Hi John, I just checked in a few CBuilder related changes. Please check the SVN repository. -- Arno Garrels John Grabner wrote: I am trying to get ICS to compile for C++Builder 2009. I am using the V7 Alpha as my base. I get a compiler error in OverbyteIcsFtpSrv.pas at line 4250. Checking

Re: [twsocket] Early web server response

2008-09-23 Thread Arno Garrels
and pops up the login dialog, everything still in winsock buffer is send out nevertheless and also acknowledged by the server. 3) IE then sends just the header with the credentials and continues posting the rest of the data. -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] Early web server response

2008-09-23 Thread Arno Garrels
Arno Garrels wrote: 3) IE then sends just the header with the credentials and continues posting the rest of the data. :-) Should read IE then sends just the header with credentials and continues posting remaining data. -- Arno -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-23 Thread Arno Garrels
Paul wrote: I'm planning to upgrade to D2009 for the unicode UI. Yeah, D2009 rocks :-) However, I want all communications in Ansi. How can this be done ? Simply by sending and receiving ANSI data exclusively ;-) Seriously, I do not understand this question. -- Arno Garrels

Re: [twsocket] Early web server response

2008-09-24 Thread Arno Garrels
debugging was easy. -- Arno Garrels -- 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] Early web server response

2008-09-24 Thread Arno Garrels
that instead of re-sending when 401 is detected, it makes sure that the body has been sent completely, and if not, it delays re-sending until it does. Implementation won't be easy, otherwise Maurizio would have fixed it already. -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] Early web server response

2008-09-24 Thread Arno Garrels
Maurizio provided. Don't know whether it works with a proxy and/or NTLM etc. (forgot everything about it) so it's most likely buggy but might be worth testing and fixing it ;-) -- Arno Garrels procedure THttpCli.StateChange(NewState : THttpState); [..] if FProxyAuthBasicState

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-24 Thread Arno Garrels
support D2009. -- Arno Paul - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Tuesday, September 23, 2008 11:18 PM Subject: Re: [twsocket] D2009 and ICS V6 Ansi Paul wrote: I'm planning to upgrade to D2009

Re: [twsocket] Early web server response

2008-09-25 Thread Arno Garrels
Maurizio Lotauro wrote: Scrive Arno Garrels [EMAIL PROTECTED]: DZ-Jay wrote: we should try to replicate the behaviour in HttpCli: perhaps adding a new machine state that instead of re-sending when 401 is detected, it makes sure that the body has been sent completely

Re: [twsocket] D2009 and ICS V6 Ansi

2008-09-26 Thread Arno Garrels
Paul wrote: In D2009 the type string is mapped to UnicodeString. If you want ansi string, just use type AnsiString. yes, but HttpCli.Url is a string, which would be a unicodestring in D2009. The only option is to change all String to AnsiString and PChar to PAnsiChar in ICS V6. There is a

Re: [twsocket] Early web server response

2008-09-26 Thread Arno Garrels
Maurizio Lotauro wrote: It seems quite easy and without drawback because reproduce the normal flow. What do you think? Sounds reasonable. Arno, I'll try to add these changes to the version you send me so you can give it a try. Will do. Unfortunately my very old proxy machine that I used to

Re: [twsocket] Early web server response

2008-09-27 Thread Arno Garrels
this check is also required when FRequestType = httpHEAD? -- Arno Garrels -- 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] URL encoding

2008-09-27 Thread Arno Garrels
Hi, Can somebody confirm that characters above #127 have to be encoded UTF-8 first before they are percent-encoded? If that's correct, Url.pas was and is currently buggy. Sources: rfc3986 http://tools.ietf.org/html/rfc3986 http://en.wikipedia.org/wiki/Percent-encoding -- Arno Garrels

Re: [twsocket] URL encoding

2008-09-27 Thread Arno Garrels
Arno Garrels wrote: Hi, Can somebody confirm that characters above #127 have to be encoded UTF-8 first before they are percent-encoded? If that's correct, Url.pas was and is currently buggy. Same or similar functions are used in the HTTP server. I have a fix for OverbyteIcsUrl.pas but won't

Re: [twsocket] URL encoding

2008-09-27 Thread Arno Garrels
Fastream Technologies wrote: I think this bug could be a reason why our web server customers have been getting complained with html file manipulation in non-ansi... Can you confirm that it's a bug? -- Arno Garrels On Sat, Sep 27, 2008 at 7:14 PM, Arno Garrels [EMAIL PROTECTED] wrote

Re: [twsocket] ICS SSL Questions

2008-09-27 Thread Arno Garrels
jlist wrote: Although I was a contributor ICS SSL, I haven't really got to play with it. I gave it a try last night with V6 and had a few questions. 1. I see two sets of .bdsproj files in Vc32 folder, one with Ssl in the file names and have USE_SSL;USE_ZLIB_OBJ defined, one without. Should

[twsocket] Fw: ICS SSL Questions

2008-09-27 Thread Arno Garrels
jlist wrote: Hello Arno, Thanks for the reply. 3. After I generated the cert files, HttpsTst demo worked fine. My question here is, is there an easy way to use an embedded cert and key string, as opposed to external files? I notice that the SslContext class takes file names. No way,

Re: [twsocket] Fw: ICS SSL Questions

2008-09-27 Thread Arno Garrels
Arno Garrels wrote: jlist wrote: Hello Arno, Thanks for the reply. 3. After I generated the cert files, HttpsTst demo worked fine. My question here is, is there an easy way to use an embedded cert and key string, as opposed to external files? I notice that the SslContext class takes

Re: [twsocket] Fw: ICS SSL Questions

2008-09-28 Thread Arno Garrels
Arno Garrels wrote: jlist wrote: What I want to do is to avoid providing the two .pem files as separate files. Instead, I'd like to read the content of the two files and hard-code them in a string variable, or in resource. Private Key and certificate may exist in the same file. It's

Re: [twsocket] URL encoding

2008-09-28 Thread Arno Garrels
), it sends GET /F%C3%AAte to the webserver. This probably answers your question if we assume IE is standard with URL. FireFox URLs are sent UTF-8 encoded as well. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman

Re: [twsocket] URL encoding

2008-09-28 Thread Arno Garrels
to be decoded has been checked for valid UTF-8 successfully, otherwise the function assumes local default code page in D2009 or does not change the encoding in older Delphi versions. The fact that both IE and Firebird send UTF-8 URLs seems to confirm this change. -- Arno Garrels

Re: [twsocket] URL encoding

2008-09-28 Thread Arno Garrels
DZ-Jay wrote: On Sep 28, 2008, at 09:49, Arno Garrels wrote: It doesn't seem to be mandatory, however suggested to use UTF-8 since January 2005, RFC 3986 Thank you! For some reason I missed that 3986 obsoletes 2396. If you are interested, I just checked in my UTF-8 changes (v7

Re: [twsocket] Early web server response

2008-09-29 Thread Arno Garrels
Maurizio Lotauro wrote: It seems quite easy and without drawback because reproduce the normal flow. What do you think? Updated both ICSv6 and ICSv7 SVN repository. -- Arno -- To unsubscribe or change your settings for TWSocket mailing list please goto

Re: [twsocket] TTcpDaemon in ICS V7

2008-10-03 Thread Arno Garrels
should change that back to char in [] In my local copy I already removed several functions IsCharInSysCharSet() today from multiple units and added one in OverbyteIcsUtils.pas that also provides an AnsiChar overload. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing

Re: [twsocket] Host name with unicode characters

2008-10-03 Thread Arno Garrels
://de.wikipedia.org/wiki/Punycode I mean, for protocols other than http, works the lookup to dns? I won't bet on that, even though I have no expierence yet ;-) -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo

Re: [twsocket] Updating to C++Buulder2009 (Arno Garrels)

2008-10-05 Thread Arno Garrels
at the SVN log (rev. #192). Currently there is still an internal discussion about whether or not ICSv7 shall support Unicode with older compilers and the implementation details. Try an update. Rev. #193 should work again. -- Arno Garrels John Grabner wrote: Date: Sun, 21 Sep 2008 19

[twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
characters above #255 (D2009 and ICSv7) modern browsers render the correct Unicode characters. Or am I missing something? -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
as the content character set in the HTML header, then you only need to encode as entities the metacharacters: ampersand, non-breaking-space, and left- and right-angled brackets. Yep. -- Arno Garrels As for HttpSrv.TextToHtmlText() method, it should take the content character set

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
, most file names including characters above #128 will be wrong when the server does not run on Windows CP 1252. -- Arno Garrels -- 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

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
Arno Garrels wrote: Francois Piette wrote: In your example, char #162 is replaced by cent; in the html output. This represent the cnet character whatever the code page is. Actually that is the bug, since #162 is the cent sign in CP 1252 but not in CP 1251. This function is used

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
page by copy those characters from the Windows application charmap.exe. Than start a packet sniffer and log a directory listing. -- Arno Garrels On Thu, Oct 9, 2008 at 2:59 PM, Arno Garrels [EMAIL PROTECTED] wrote: Arno Garrels wrote: Francois Piette wrote: In your example, char #162

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
ANSI code page. -- Arno Garrels -- 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] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
that uses CP 1252! For example: Currently char #162 is hard coded to represent the cent sign: HTML Entity: 'cent' , { #162 cent sign } In windows-1251 however #162 maps to the small kyrillic letter U (short). -- Arno Garrels -- [EMAIL PROTECTED

Re: [twsocket] [FTP] ESocketException

2008-10-09 Thread Arno Garrels
that Winsock installation is corrupted? -- Arno Garrels Guillaume ROQUES wrote: Hi, I use the FTP Client Component in 2 of my applications : 1-Just a tool to manage the FTP connections 2-A window service which check, by FTP, if some defined files exists. In my Tool (1), I could test my connections

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
; (decimal) or as #x2154; (hex)? If so, IIS sends plain UTF-16! There is nothing in the html header to tell which code page or charset is used. -- Browsers seem to be very good in detecting the correct character set nowadays. -- Arno Garrels -- To unsubscribe or change your settings

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-09 Thread Arno Garrels
Francois PIETTE wrote: The twothird character is not 'encoded' either as #8532; (decimal) or as #x2154; (hex)? If so, IIS sends plain UTF-16! Yes, no encoding at all. Just the 3 bytes. So UTF-16. But 3 bytes looks like UTF-8 ? -- Arno Garrels -- [EMAIL PROTECTED] http

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-10 Thread Arno Garrels
:) -- Arno Garrels - Original Message - From: Arno Garrels [EMAIL PROTECTED] To: ICS support mailing twsocket@elists.org Sent: Thursday, October 09, 2008 7:03 PM Subject: Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText() Francois PIETTE wrote: The twothird character

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-10 Thread Arno Garrels
Arno Garrels wrote: Francois PIETTE wrote: But 3 bytes looks like UTF-8 ? I don't know. You said it was UTF-16 if not encoded. I installed IIS 7 on my Vista box and I found that IIS 7 uses UTF-7 in directory listings. Arrgh, typo above, IIS v7 uses UTF-8 of course! The HTTP header

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-11 Thread Arno Garrels
URL encoding/decoding do not use UTF-8. The file names in directory listings are now _displayed_ correctly, but their links have not changed, they still are ANSI. I can easily change URL coding in v6 to UTF-8 as well, however I wonder whether that would break existing applications? -- Arno Garrels

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-11 Thread Arno Garrels
Fastream Technologies wrote: On Sat, Oct 11, 2008 at 6:24 PM, Arno Garrels [EMAIL PROTECTED] wrote: Fastream Technologies wrote: Hello Arno, If the function is ready, I would like to test it in our special unit for HTML folder listings. Can you post it here or send privately? Yes

Re: [twsocket] HTML encoding in HttpSrv func. TextToHtmlText()

2008-10-12 Thread Arno Garrels
, FindFirstFileW() and FindNextFileW(). -- Arno Garrels -- 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] Can't send data with SSL enabled

2008-10-12 Thread Arno Garrels
now. Have you tried the SslMailSnd demo yet? If not please try. I just tested with gmail succesfully. Is this ICS v6? -- Arno Garrels ICS V5. -- Piotr Dałek [EMAIL PROTECTED] -- Notowania GPW w telefonie! Sprawdz

Re: [twsocket] Can't send data with SSL enabled

2008-10-12 Thread Arno Garrels
; end; {$ENDIF} FinalizeSsl; end; -- Arno Garrels -- Piotr Dałek [EMAIL PROTECTED] -- Szukasz mieszkania, domu dzialki? Sprawdz http://link.interia.pl/f1f47 -- To unsubscribe or change your settings for TWSocket

[twsocket] OT: DDService framework for D2009 (freeware with source)

2008-10-17 Thread Arno Garrels
SID Info, Required Privileges and StartType AutoDelayed. Please do not answer to the list, feel free to send me a PM instead. PS: Works from NT4 to Vista (should work on Server 2008 as well) -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
Paul wrote: I have a service application with a HtppsCli which has ran fine connecting to a server. Now, I need the HttpsCli connecting to another webservice first. Connecting to this new webservices runs fine, but when the HttpsCli connects to another webservice afterwards, it goes wrong:

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
Arno Garrels wrote: Paul wrote: Where to you create your class? in ServiceStart Async or sync methods? Async Maybe messages are not processed properly. Are there more threads beside main thread and service thread? It's directlly in the service thread (with message loop

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
on E: exception do begin Display('Error occured @ ' + DateTimeToStr(now) + ' - ' + E.Message, ntlError); end; end; end; Looks well :-( Message loop is started properly. Hard to tell what might be wrong? -- Arno Garrels Paul - Original

Re: [twsocket] HttpsCli in service application

2008-10-18 Thread Arno Garrels
Angus Robertson - Magenta Systems Ltd wrote: 2 - Use the SvCom service environment, which allows you to create a application that may be run as either a GUI or service. http://www.aldyn-software.com/svcom.html I've used this for one new application, and it works nicely, although I had to

[twsocket] ICS v5 SSL code merged and updated (mostly to V6)

2008-10-19 Thread Arno Garrels
://svn.overbyte.be:8443/svn/ics or for ICS-V5 to: svn://svn.overbyte.be/icsv5 or http://svn.overbyte.be:8443/svn/icsv5. ICS-V7 is a part of V6, in ics/branches/icsv7. All use usercode = ics and password = ics for read access. Write access is only available to TeamICS. -- Arno Garrels [TeamICS] http

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread Arno Garrels
is completely untested, there is a CB package included which builds w/o errors, that's all. Please provide the linker error text, also a minimal project that demonstrates the errors would be very helpful. -- Arno Garrels -- To unsubscribe or change your settings for TWSocket mailing list please

Re: [twsocket] FTPS server with special need

2008-10-20 Thread Arno Garrels
if his certificate expired or has been revoked. Giving all clients the same certificate that never expires is IMO nonsense. 2) Clients connecting to the server should also check whether they can trust the server or not by checking the server certificate. -- Arno Garrels [TeamICS

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread Arno Garrels
::TCustomWSocket::SendStr(System::UnicodeString)' referenced from ...TCPSRV1.OBJ In the custom client class RcvdLine is declared as AnsiString. Concatenation of UnicodeString and AnsiString seems to be the problem. Declare RcvdLine as String and this error should go away. -- Arno Garrels

Re: [twsocket] C++ Builder 2009 TCP Server

2008-10-20 Thread Arno Garrels
is called which are faster since Windows does not convert the AnsiString back and forth to Unicode internally. -- Arno Garrels -- 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

Re: [twsocket] Problem with streaming...

2008-10-23 Thread Arno Garrels
Ja wrote: When It stucks, It's always on 18.2KB, using SSLWSocket. But none of this data is being shown in buffer... :/ What ICS-version, ZIP download or SVN checkout? -- Arno Garrels Dnia 22 października 2008 16:19 Ja [EMAIL PROTECTED] napisał(a): Hello, I'm trying to stream data

[twsocket] OT: Is the list still alive?

2008-10-29 Thread Arno Garrels
Hi, Six days no messages, very strange... -- Arno Garrels -- 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] OT: Is the list still alive?

2008-10-29 Thread Arno Garrels
[EMAIL PROTECTED] wrote: I received your message fine. Yet, it is indeed strange that there haven't been any messages for a week. Cannot remember that that ever happened previously. -- Arno Garrels -dZ. --- Original Message --- From: Arno Garrels[mailto:[EMAIL

Re: [twsocket] I wan't to stop the server from listening then start it

2008-10-29 Thread Arno Garrels
not assigned) Port not assigned? What is going on? That is 'as designed', you have to (re)set some basic properties before the call to Listen. -- Arno Garrels Darin Sease Building Systems Analyst Syracuse City School District PH: 315 435 4292 E: [EMAIL PROTECTED

Re: [twsocket] Login scenario, what do you think

2008-10-29 Thread Arno Garrels
method instead. For example CRAM-MD5 or Digest authentication. -- Arno Garrels Darin Sease Building Systems Analyst Syracuse City School District PH: 315 435 4292 E: [EMAIL PROTECTED] -- To unsubscribe or change your settings for TWSocket mailing list please goto http

Re: [twsocket] Making ServerClass of THttpServer and TFtpServerproperty

2008-11-01 Thread Arno Garrels
also be derived from TWSocketServer like the HTTP as well. Angus already made an attempt to rewrite the FTP server, but it never made it into the ICS package :( -- Arno Garrels Note that I have looked at the source code. See THttpServer.CreateSocket. You can plug the change

[twsocket] Proposal to replace TIniFile by TRegIniFile in all v7 demo applications

2008-11-07 Thread Arno Garrels
? -- Arno Garrels -- 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] Proposal to replace TIniFile by TRegIniFile in all v7demo applications

2008-11-07 Thread Arno Garrels
Arno Garrels wrote: how would you manually maintain, for example, a UTF-8 file name? OK, notepad could do the trick ;-) Hi, Since Delphi and ICS goes Unicode I suggest to replace TIniFile by TRegIniFile in all demo applications. TInifile uses Win32 API functions which do not support

Re: [twsocket] Proposal to replace TIniFile by TRegIniFile in allv7 demo applicati

2008-11-07 Thread Arno Garrels
are stored 'virtualized' in Vista. -- Arno Garrels -- 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] Proposal to replace TIniFile by TRegIniFile in allv7demo applic

2008-11-07 Thread Arno Garrels
the ICS demo applications not about service applications or general use of INI files. -- Arno Garrels -- 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

<    6   7   8   9   10   11   12   13   14   15   >