Re: [twsocket] FW: TSslFtpClient...

2018-07-12 Thread zayin
Tiny thing. procedure TCustomFtpCli.TransfertStats; Needs a space before 'bytes... Buffer:= IntToKByte(FByteCount) + ' bytes received/sent in '; Same further down. Buffer := Buffer + ' (' + IntToKByte(BytesSec) + ' bytes/sec)'; Perhaps others thing different. -- To u

Re: [twsocket] FW: TSslFtpClient...

2018-07-12 Thread zayin
Thanks 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

[twsocket] FW: TSslFtpClient...

2018-07-12 Thread zayin
Hello, Thanks for the response Angus. >You should have done a FEAT command to find out what the server needs. I set up the properties and called SslFtpClient1.Receive; >ProtLevel C or P means Clear or Private, OK, so if P then the control AND data are encrypted. I assume servers support C and

[twsocket] FW: TSslFtpClient...

2018-07-12 Thread zayin
Hello, I thought I would do some testing with TSslFtpClient (version V8.09). I downloaded and installed ProVide server (https://www.provideserver.com/free-trial/) on another computer, setup it up for normal FTP and it worked for getting a file Altered the settings to support FTPS Implicit SSL/TL

[twsocket] TWSocket...

2017-11-14 Thread zayin
Thanks Angus. >That is 25 versions old, lines move. What function? function TCustomWSocket.GetPeerAddr: String; -- 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.

[twsocket] TWSocket...

2017-11-13 Thread zayin
Hello, Version 8.26. If I call TWSocket .Connect and Windows times out (about 25 seconds), I get the TWSocket .SessionClosed callback. How do I determine it was a timeout and not just a normal close? I know I can keep track if I was connected, I was just wondering if there is a flag set when the

[twsocket] Wiki...

2017-10-25 Thread zayin
Is it just me or has the Wiki (http://wiki.overbyte.eu/wiki/index.php) disappeared? -- 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] OpenSSL 1.1.0d and 1.0.2k support (?ric Fleming Bonilha)

2017-02-04 Thread zayin
> Or you can just ignore it and disregard your users... > This was my last attempt to give you an advice to fix a broken code... > I miss that old times when ICS team actually cared about the users... Wow, I would tell you to take a hike. Angus does great work for ICS and ICS users and you are

[twsocket] Delphi 10.1 Berlin Announced

2016-04-19 Thread zayin
Thanks 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

[twsocket] SSL post extremely slow

2016-04-14 Thread zayin
> I updated the FTP client buffers to 32K several years ago for better performance. Yep this was 2011 and it made a huge difference for me. http://marc.info/?l=twsocket&m=131146591403948&w=2 And your response: Log: - Added published property DataSocketSndBufSize and public property DataSocket

[twsocket] Gmail--04-04-2016

2016-04-13 Thread zayin
> No idea, you'll have to ask Google support. Are you using the default settings for sslcontext and sslsmtpclient components? Thanks for helping. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our w

[twsocket] Gmail--04-04-2016

2016-04-13 Thread zayin
Hello, > This was previously discussed here a few days ago. Right, but you wrote: My password is strong 15 characters, but I still get SMTP and POP3 access with this turned off. How? Thanks, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.e

[twsocket] Gmail--04-04-2016

2016-04-13 Thread zayin
Hello, I updated to daily snapshot and I am using OpenSSL 1.02g (the files that came with the snapshot) I still get Error=534 5.7.14 if the "Access for less secure apps" is off. I am using the default settings in ICS. Should one or more be changed for success? Ideas? Thanks for your time. -

[twsocket] Gmail--04-04-2016

2016-04-13 Thread zayin
Thanks. The reason I D/L 8.23 is 8.24 is not listed on the page. "Latest Stable Version ICS V8.23 - recommended" I will D/L the daily snapshot and give it a try. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/tws

[twsocket] twsocket] Gmail--04-04-2016

2016-04-12 Thread zayin
More data. I tried the sample project OverbyteIcsSslMailSnd and I get the same error. Interesting. -- 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] Gmail--04-04-2016

2016-04-12 Thread zayin
Hello, Recap, using Delphi XE, ICS V7 and Gmail access started failing and I had to configure Gmail to use lesser security. I updated to V8.23 and OpenSSL to 1.02g. Now when I attempt to send an email I get: Request Done Rq=0 Error=SSL Handshake failed EIcsSsleayException Unable to load SSLEAY D

[twsocket] Gmail--04-04-2016

2016-04-05 Thread zayin
OK I found http://wiki.overbyte.be/wiki/index.php/ICS_Download has some SSL binaries. I tested up to 0.9.8x with the same result. Wonder if I should take the leap to V8. Are there any know issues going from V7 to V8? I am using Delphi XE. I am posting this journey so if others run into this issu

[twsocket] Gmail--04-04-2016

2016-04-05 Thread zayin
OK The file version is not the same as the product version. The SSL I am using is 0.9.8r. Searching for binaries I found https://indy.fulgan.com/SSL/. It looks like the last 0.9.8 version was 0.9.8.zh. I am going to give it a go. -- To unsubscribe or change your settings for TWSocket maili

[twsocket] Gmail--04-04-2016

2016-04-05 Thread zayin
Could it be the version of SSL dlls I am using? ssleay32.dll, libeay32.dll 0.9.8.18 Are there newer versions that work with V7 of ICS? Thanks -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our we

[twsocket] Gmail--04-04-2016

2016-04-05 Thread zayin
Thanks for the response. >This is totally expected, the only GMail accepts POP connections of this >type is if you allow "less secure apps". Yes, except it has worked for more than 2 years without it. Not a biggie for me. I documented it and have moved on. -- To unsubscribe or change your

[twsocket] Gmail--04-04-2016

2016-04-05 Thread zayin
Thanks for the suggestion. I changed the password to a 25 character password with lots of randomity. Gmail said it was "strong." When I turned off the "less secure apps", the error returned. -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org

[twsocket] Gmail--04-04-2016

2016-04-05 Thread zayin
Hello, Well I was premature. It did not fully work. A new error appeared: ! Starting SSL handshake Secure connection with TLSv1, cipher AES128-SHA, 128 secret bits (128 total) < 220 smtp.gmail.com ESMTP d10sm9778116oem.0 - gsmtp Request Done Rq=0 Error=0 > EHLO XIComputer2 < 250-smtp.gmail.com at

[twsocket] Gmail--04-04-2016

2016-04-05 Thread zayin
Hello, > The EHLO argement is supposed to be a host name, not an email address, > many SMTP servers will refuse the connection unless a reverse DNS check >works. Not sure why you are using an email address, the ICS default is >the computer name. Thanks, that was it. What I find funny is we tes

[twsocket] Gmail--04-04-2016

2016-04-04 Thread zayin
Hello, For several years now access to Gmail, using SSL, has been flawless. I am using version 7. Today access to Gmail has failed and I am unsure if it is a temporary issue or Gmail made a change. Here is the log. ! Starting SSL handshake Secure connection with TLSv1, cipher AES128-SHA, 128 se

[twsocket] THttpCli and XML...

2016-03-08 Thread zayin
Hello, >François has written a Universal Plug and Play component Yeah I tried it first and the device does not respond. It needs a "discover" verb to respond. Windows uses "All", IIRC. As with the HTTP, "does not fully implement all the requirements." applies here as well. Thanks for your time

[twsocket] THttpCli and XML...

2016-03-08 Thread zayin
Hello, > and I conclude that is doesn't [fully] support HTTP. I concur. It is a hybrid. It requires all the formatting of HTTP ("Gets" to the device via THttpCli work without error) and XML but, does not fully implement all the requirements. It uses SSDP and UDP to be discovered and how it is im

Re: [twsocket] THttpCli and XML...

2016-03-06 Thread zayin
Hi, I switched to a TWSocket and sent the complete post URL, parameters and XML data in one send and the server responded without error. So, the header data the THttpCli component was adding to the XML document was not allowed by the server. Only the XML data. Joy! Thanks for your time, Mark

[twsocket] THttpCli and XML...

2016-03-06 Thread zayin
Hello, Thanks for the responses. > My sData is not XML but this should not make big difference. Yeah I thought so to but, it appears the device does not like the headers added by THttpCli. > Are you setting the THttpCli.ContentTypePost property to Yes, same as above. I am about to shift to

[twsocket] THttpCli and XML...

2016-03-06 Thread zayin
Hello, Version 7.25 For the first time I need to send an XML document to the server. I setup the URL for all the data. I put the XML document in a stream and set the index to 0. I call PostASync. Looking at Wireshark the URL data is all there and correct. The XML has stuff added to the front whi

[twsocket] Wiki...

2016-03-02 Thread zayin
Hello, Last week I decided to help with the wiki and make a couple of entries. I joined the wiki, sent the required email for editing permission and I have not heard back. Ideas? Thanks, Mark -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.

[twsocket] Lazarus/FPC/Linux...

2016-01-23 Thread zayin
Hello, I searched the archive for information on using ICS with Lazarus/FPC/Linux and the last entry was from 2012. Is it possible with an earlier version of ICS? Would making V8 work be a huge undertaking? I see that V8 supports POSIX. So maybe it would work with Lazarus/FPC/Linux? I am still

[twsocket] no list emails...

2015-05-20 Thread zayin
Hello, I have been setup for digest mode for years and I have not received an email in at least one month. I tried to subscribe again. I received an email that said I was already subscribed. The digest email is not going to my spam folder, twsocket is on my trusted email list. Ideas? Mark --

[twsocket] SSLHttpServer...

2015-01-22 Thread zayin
Hi, Thanks for the response. > Most likely you don't have valid SSL certificates set-up, that always causes SSL to fail. I am using the certificate that came with the demo. I ran the demo and tried to connect, no changes to files. Now that I am thinking about it, SSL for HTTP might not be the w

[twsocket] SSLHttpServer...

2015-01-22 Thread zayin
Hi, I am testing with the OverbyteIcsSslWebServ1 demo using version 7.51. If I test with regular HTTP it works. If I test with HTTP it fails with: [12:33:26 127.0.0.1] SslHandshake failed. No other error, nothing else logged. I am using SSL/TLS for email without error but, I have not been able

[twsocket] THttpServer,THttpConnection...

2014-12-15 Thread zayin
>> Does one exist and I am missing it or I will need to code it? >Check the ExtractURLEncodedValue function Thanks. Yeah I saw that but since the code already existed to decode the names from the URL string the values must be there somewhere and I was missing the 'where'. There must have been

[twsocket] THttpServer,THttpConnection...

2014-12-15 Thread zayin
Hello, Before I write a bunch of code to extract the parameters and values of a get command I thought I would ask because looking around the code and examples, I have not found an answer. I see that TMyHttpConnection.params holds the params as a string and that ExtractURLEncodedParamList can get

Re: [twsocket] TSslPop3Cli... 6.13

2014-05-26 Thread zayin
, Mark -Original Message- From: zayin [mailto:za...@pdq.net] Sent: Monday, May 26, 2014 7:59 AM To: twsocket@lists.elists.org Subject: Re: [twsocket] TSslPop3Cli... 6.13 Hi, > Note messages are only deleted when the mailbox is actually closed with the QUIT command. I think that

Re: [twsocket] TSslPop3Cli... 6.13

2014-05-26 Thread zayin
Hi, > Note messages are only deleted when the mailbox is actually closed with the QUIT command. I think that is the issue. This is a 24/7 program and I do not issue the quit until the program is stopped. Interesting that Gmail is the only POP3 server, I have tested, that has the requirement. My

[twsocket] TSslPop3Cli... 6.13

2014-05-25 Thread zayin
Hi, I am having trouble deleting messages in Gmail via POP3. This is part of an alarm/acknowledgment system that works fine with other POP3 servers. A user responds to an email (alarm) I sent, I fetch the message, parse it and then delete it (Pop3ReadOnly.Dele;). Gmail responds OK, message mar

[twsocket] TPing, PingThrd1...

2013-09-08 Thread zayin
Hi, A follow-up. After more testing and code writing I have found the timeout does work, for the most part. Just because a device does not respond to a ping does not equal the timeout will occur. Another device can respond with the error. That is what seems to be the case. I did not WireShark it

Re: [twsocket] TPing, PingThrd1...

2013-09-03 Thread zayin
Hello, >Are you getting the same result from every public IP address you test, > including non-existent addresses, or just one single IP. I was just testing one internal IP address to a computer that is turned off. The version of TPing ' TPing (c) 1997-2010 F. Piette V6.01 '; After

Re: [twsocket] TPing, PingThrd1...

2013-09-03 Thread zayin
>> After much testing with internal/external, existing/non-existing, addresses/host names, I have determined the timeout >> value does not have any effect on the results of 'nonexistent' connections. Or really any effect at all. > You mean it does not alter in a test to a single IP address

Re: [twsocket] TPing, PingThrd1...

2013-09-03 Thread zayin
Hello, Well it seems the timeout has zero effect. Setting it to any number does not change the result. Ciao, Mark -- 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] TPing, PingThrd1...

2013-09-03 Thread zayin
From: zayin [mailto:za...@pdq.net] Sent: Tuesday, September 03, 2013 8:22 AM To: 'twsoc...@elists.org' (twsoc...@elists.org) Subject: TPing, PingThrd1... Hello, Using the PingThrd1 example I set the timeout and it does not make any difference when the no response error message

[twsocket] TPing, PingThrd1...

2013-09-03 Thread zayin
Hello, Using the PingThrd1 example I set the timeout and it does not make any difference when the no response error message arrives. Received 0 bytes from 10.0.0.9 in 2892 ms I read this on a help page: Timout: Time to wait for response (in milliseconds). Default is 4000, or 4 sec

[twsocket] TWSocket Connect exception...

2013-07-17 Thread zayin
Hi, Thanks Arno. Mark -- 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] TWSocket Connect exception...

2013-07-17 Thread zayin
Hi, I am trying to catch exceptions from a TWSocket.Connect call. The issue is most of the time it is a dot number IP address used for the addr but sometimes it is a dot name address. I call connect and if the DNS fails I want to catch the exception. The OnError does fire but the LastError is ze

[twsocket] THttpCli...

2013-06-29 Thread zayin
Hello, I thought I would write this so others might find it when they searched the archive. I am using a THttpCli and have been using it for many years to download an exe file from our website. No problems reported since it was released. Yesterday, I heard the download was failing with "406 Not