> But I can see wsoAsyncDnsLookup making new applications easier by
> avoiding needing to code OnDnsLookupDone.
Just tried using wsoAsyncDnsLookup in a new component, and discovered a
flaw in the implementation.
Currently wsocket State is not changed when the DNS lookup starts, so
it remains ws
> Sending still works, but only for SMTP servers not requiring TLS.
> What would I need to do to TLS enable this application?
Look at the sample OverbyteIcsSslMailSnd, which is the SSL enabled
version. Essentially, you change to use TSslSmtpCli which has extra
events to handle the SSL handshaking
> it's difficult nowdays to find an analogue phone port and a
> working modem ;-)
And a working version of Windows, DUN is so rarely used now that
Microsoft seems to no longer test it themselves, and DUN no longer
works in Windows 10 version 1703, dial attempts just get a hardware
error.
So if
> I shortly looked at the mentioned sample. It contains some pem
> files which seem to be certificates. Correct?
> The seem to be different from the ones I already used for my
> DataSnap rest server to SSL enable it.
In general, SSL clients don't need certificates, rarely is it necessary
for a c
> thanks for your valuable information!
> Some of it indicates, that it might indeed be easier than feared
> after looking at the demo project. ;-)
Or look at the code of my mail queue component, which validates chains
using either a PEM bundle or the windows store, just borrow the code.
I've
> Is there a way to understand that File Transfer is actively
> taking place on FTP Client side eg: FtpClient.State /
> FtpClient.Connected ?
There are several events that can be used to monitor progress,
OnCommand, OnResponse and OnProgress64, during an actual transfer.
Suggest you look at the
> For some reason (maybe I misapplied the patch?), I also had to
> comment this line out of OverbyteIcsUtils.hpp:
> extern DELPHI_PACKAGE GUID WINTRUST_ACTION_GENERIC_VERIFY_V2;
Now added as an external, so should work next time.
Angus
--
To unsubscribe or change your settings for TWSocket mai
> I'd vote for new State. Alternatively the wsConnecting could be
> used but there could be more unexpected cases when state is
> "connecting" but socket is still invalid.
Just about to fix this, going through my pending bugs list.
> I found another issue. If we call Close on a socket, DNS lo
> I get the login data for the login page using "POST" and
> "PostASync", but when doing a GET on the next page that
> should be accessed with the logged in user
Almost certainly cookies, these are not handled internally between
requests, you need to repeat your line:
HttpCli1.Cookie := IcsCookie
Four new zips for Win32 and Win64 versions of OpenSSL 1.1.0f and 1.0.2l
can now be downloadable from the Wiki at:
http://wiki.overbyte.eu/wiki/index.php/ICS_Download
PLEASE NOTE the EU in the URL, not BE, this is a new wiki server.
There are no security fixes, just bug fixes related to buildin
> BE suffix works as well ! And it is even the preferred address.
Not from here: Firefox can't find the server at wiki.overbyte.be.
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 a
> One detail I forgot to mention, in the first example you gave me,
> I also had to add the line " SslHttpCli.Cookie :=
> IcsCookies.GetCookies(SslHttpCli.URL);" in the event
> "OnLocationChange" is this correct?
Should not be necessary, and a response with a Location: header should
not set cook
> Thanks, it worked perfectly, I managed to navigate the other
> pages, but now another problem has appeared, I changed the user
> and logged in again, and all the pages that I navigate are with
> the data of the first user, even sending a post with incorrect
> login and password He logs in as if
> Can inform me the name of the demo project that use cookies, I
> did not find, thank you!
Sorry, bad memory, I did a MimeDemo, but not a Cookie demo.
The main test project for cookies was the browser demo,
FrameBrowserIcs.dpr and specifically FBUnitIcs.pas.
And it seems they should be save
> What's the best way to stop TFTPServer from allowing a user (all
> users) to upload a file ?
TFtpCtrlSocket has a property AccountReadOnly which is not used in the
actual component, but should be set in your application upon login
depending on what rights the user should have.
You then check
> I need to make connections every 1 second, Data, and of that
> received data make another connection depending on the content,
> my question is, how to wait the data of the first connection and
> only then make the second, third etc
In the timer, you simply check State <> httpReady and give up
> *Subject:* [twsocket] ICS on macOS
> It appears that the latest ICS version was never tested on macOS.
No, none of us has MacOS so it's untested, well known in this mailing
list.
If you want fix the broken units in SVN which is V8.48 and email them
to me, I'll update them for V8.49 later this
> You don't need macOS to syntax-check for the OSX target
> platform, as far as I remember. Anyway...
You have to set-up a Connection Profile before you syntax check or
build for a non-Windows platform, and that means installed PAServer
first on that platform.
We do try and allow for non-Wind
> Sorry Angus, your spam filter hates me:
cmd: EHLO cgate.tamos.com
[216.198.226.100] Mail rejected due to SMTP Spam Blocking:
_REVERSEDNSLOOKUP
There is no reverse DNS set-up for your mail server, so I'm afraid many
ISPs will block your email. A standard spam test is to make sure the
IP address
> Yes, I can imagine. Perhaps a virtual machine with macOS as a
> guest OS could be good option.
I'd guess that would require an illegal copy of MacOS, but a little
Googling suggests it may be possible.
However there would still be learning curve to get such a VM running,
and I really don't hav
> I want to allow the FtpClient to be able to pull files from any
> Drive of the FtpServer machine. Issue is that I cannot go beyond
> my HomeDirectory. I have made 'Allowed := True' in
> 'OnChangeDirectory' Event in FtpServer.
You need to remove ftpsCdupHome from Options, it's a deliberate fea
> When a File has been received at the Server end which is the
> event that will indicate that ?
OnStorSessionClosed.
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.
> One more related question. In the OnStorSessionClosed the
> Client.FilePath gives the Filename too. If this is standard
> behavior then I do not need to concatenate the Path and Filename.
Yes, that is standard, it will never change or lots of applications
will break.
Angus
--
To unsubscribe
> How does Server understand that FtpClient Aborted the PUT. In
> 'OnStorSessionClosed' 'Error=0'.
>
> My intention is that at PUT of a file I rename the HostFilename
> to Filename$$ and when completely received at Server side Server
> will rename it back to 'Filename' by removing the ending $$
> From what I gather is that MagFTP is the Client Side. For client
> side I will refer your logic, Thanks. My requirement is for the
> Server Side. I can also pass the command from Client side to the
> Server to do the rename but I thought Server doing the Rename
> would be faster and would als
> I have a backup application that I am revamping. You got me
> right, I am using both the Client and Server modules as my
> application is loaded on Source machine and Destination too. I
> get your point that I will have to work from the Client side
> majorly and not from the Server side.Thank
> upon downloading a file from an FTP Server I am trying to reset
> the filedate of the local file to
> that of the original, would this be possible using ICS.
ICS has two functions UpdateFileAge and UpdateUFileAge in
OverbyteIcsFtpSrvT.pas to set the time stamp to local or UTC time
respectively.
> However, when I try to install magxfer, I can compile it but when
> I try to install it, Delphi (7)
> complains about the missing package OverbyteIcsSslDel70, of which
> I cannot find any reference within ICS.
We stopped tested against Delphi 7 several years ago, although ICS
still supports it
> yes indeed it was version 2.7 I tried to install
Sorry, bad link, now fixed.
> As predicted, I run into other issues when I now try to install
> the newest version.
The only change I believe is needed is for an ICS change I made last
week, in MagentaFtp3.pas change GetUAgeSizeFile to IcsGet
> Only remaining is the Resume option. Thanks for the suggestion.
> Question: With TFtpClient to Resume transfer do I have to know
> the remote file size ?
You only have to know the position from which you want to resume, ie
the size of the file partially downloaded.
But unless you know the ex
> UpdateFileAge and UpdateUFileAge seem to be for the server side,
> what I need is to set the file age of the downloaded file.
They work fine in TMagFtp which is an FTP client.
Angus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-
ICS now includes two new components, TIcsProxy and TIcsHttpProxy.
Also, added multiple SSL host support to TSslWSocketServer, and to the
two web server components. There are new sample SSL applications to
test the proxy components and web server host support.
The multiple IcsHosts support inclu
TIcsProxy is protocol agnostic and may be used to proxy any TCP
protocol, the sample includes SMTP, POPO3, NNTP and telnet. It may be
used to allow non-SSL applications to access servers that require SSL
such as forums.embarcadero.com.
TIcsHttpProxy is a full forward and reverse HTTP/HTTPS proxy w
SocketServer
Added multiple SSL host support to TSslWSocketServer and to
TSslHttpServer and TSslHttpAppSrv (and TIcsProxy).
Previously, although the servers supported multiple IP addresses and
ports, a lot of application code was needed to support multiple hosts,
SSL certificates an
> Are the components stable or is it better to wait until fully
> tested?
> I don_t want to run into issues.
The IcsHost stuff as actually added to ICS V8.45 back in April,
although it has been tweaked and one bug fixed then.
The application web server has been in use at my commercial web serv
> I have a PostgreSQL 9.6.3 database server with SSL enabled.
> There are certificate files available.
> I would like to connect to PostgreSQL server using TIcsProxy SSL
> enabled.
> I would like my regular database connection components to use that
> connection as normal. However, communication w
> What is the correct way of Aborting a File Transfer from
> TFtpServer ?
The FTP server does not care how you stop a download, it can cope with
the ABORT command or lost connection.
Angus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/c
> My Program has a Client Side and a Server Side. I have taken care
> that the Client side can abort a file transfer. Now I wanted to
> provide Abort on the Server Side as well. or Is this not they way
> it is done ?
The FTP server is usually non-interactive, it would not consider
aborting a tr
> This new version has presented me with a problem. I can
> successfully connect to the first device in the list, and send
> the command in the OnConnected event. Through reading comments in
> the source, I understand that the problems originated with the
> way I'm handling this.
>
> After th
> I have no idea, however, how to go about creating or using a pool
> such as you describe.
Create a pool is not hard, define multiple Wsockets as an array and
then create each one in code and set it's methods and events.
Then you need a second state array to keep track of which socket is
busy,
> Will there be a version of ICS coming which support OSX as target
> using Delphi Tokyo with firemonkey?
Due to lack of Apple hardware we don't officially support OS-X at the
moment, but many users have found they can install the last OS-X
packages and build them on Delphi 10.2.
The last over
ICS-V8.49 is now declared a recommended stable release, having not been
touched for a couple of weeks and no outstanding bugs, and is available
in historic zip files from:
http://wiki.overbyte.be/wiki/index.php/ICS_Download
Angus
--
To unsubscribe or change your settings for TWSocket mailing
> Is this a scam? I received an email with my full name saying
> "thanks for the email" pointing to some altyear.org domain. From
> "TWSocket"
Anyone can send fake emails, it has never been secure. These came from
the Middle East and had the header:
Subject: Your payment id number: 386039
F
> I am using ICS to make a TLS connection using a client
> certificate in .p12 format. This can be done by calling
> LoadFromFile on the SslCertX509 field of TSslContext, which in
> turn calls TX509Base.LoadFromP12File.
>
> I suspect that there is a bug in the handling of the IncludePKey
> pa
> Do I have to decode the html after it gets it? Can not I set the
> charset in the httpcli component?
The component returns the a stream with the raw content, maybe a file,
image or HTML text.
You have to search the HTML text for the charset attribute and then use
various functions to convert
> In file OverbyteIcsHttpAppServer.pas property onSslServerName
> starts with small letter that causing error in C++.
Thanks, fixed here, will be in SVN later this week.
Angus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailma
Embarcadero has just released RAD Studio Tokyo 10.2.1 on EDN.
There are a lot of fixes over the initial Tokyo release.
Download links:
http://altd.embarcadero.com/download/radstudio/10.2/radstudio10_2_1_esd.
exe
http://altd.embarcadero.com/download/radstudio/10.2/delphicbuilder10_2_1
.iso
h
> In the ICS Socket components's OnSessionConnected /
> OnClientConnect events you are passing Error parameter. When will
> this get a value ?If the OnConnected events are triggered does it
> mean connection is active or is it only if Error=0 ?
OnSessionConnected or OnClientConnect should alway
Web sites are often hacked and compromised, mostly by the use of
injected third party scripts running on advertising and tracking
servers that many sites liberally link from their pages.
Because historically browsers tend to do exactly what they are told,
new HTTP headers keep being added that a
> In file OverbyteIcsHttpAppServer.pas property onSslServerName
> starts with small letter that causing error in C++.
Finally in SVN, this was reported a few months ago but I missed it.
Angus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.
> I am using ICS to make a TLS connection using a client
> certificate in .p12 format. This can be done by calling
> LoadFromFile on the SslCertX509 field of TSslContext, which in
> turn calls TX509Base.LoadFromP12File.
Now fixed in SVN.
Angus
--
To unsubscribe or change your settings for
There are a number of V8.50 bug fixes in SVN and the overnight zip,
including a potential security risk in the FTP server, found during a
PCI DSS scan of my public server.
OverbyteIcsFtpSrv.pas
Stopped LIST/RETV using ..\..\..\ (already stopped for CWD)
This fixes a potential security risk that
> I need to resolve IPv6 address for domain name (google.com ->
> 2607:f8b0:4006:80e:0:0:0:200e)
> To do it I call:
> DnsQuery.QueryAny('google.com',DnsQuery);
The component does not currently support records directly.
You can use WSocketIPv6ToStr to convert the 16 bytes of IPv6 addre
Everyone has heard of TCP and UDP, now a new transport layer protocol
has been developed by Google, QUIC which stands for 'Quick UDP Internet
Connections'.
https://en.wikipedia.org/wiki/QUIC
QUIC aims to be nearly equivalent to an independent TCP connection, but
with much reduced latency (goal:
> I'm using ICS TPop3Cli/TSslPop3Cli components together with a
> TMimeDecodeW component to handle incoming mails.
Please forward two or three of these emails to my account, not the
mailing list, so I can check them in my own MailMaint email reader that
uses the latest ICS.
Make sure the email
ICS V8.50 in the overnight zip now includes various new functions to
assist with determining the character set and codepage for HTML content
received from HTTP servers, and to convert correctly to Delphi unicode
strings.
The character set is determined according to the rules:
1 - HTTP Content-
> 'd like to use a PKCS#7 certificate with ICS 8.44. and OpenSSL
> 1.1.0f, but I don't know which properties to initialize.
You should load OpenSSL at the start, before calling any SSL functions,
otherwise it may get loaded and reloaded and be unpredictable.
Your code is then confused about load
> So this sequence is not needed :
For backward compatibly, there are several ways of loading certificates
and private keys, and they may be in separate or bundled files. You
only need to use the method that matches the files you are expecting,
and only once.
> Threre is a key file too, which p
> But is it safe to upgrade to a SVN version rather to stay on the
> stable version provided on the getit platform for our customers ?
> A SVN version come with patches but with new bugs too, so;)
>
> Actually GetIt has the 8.44 and SVN is already on 8.50 I hope it
> would be a stable numbe
> I have been trying to make a POST request with Digest
> authentication for hours now.
> I've set up a echo HTTP server to see what's going on and it
> seems that digest authentication is only made when using GET.
Sorry, no idea, never used Digest authentication and have no way to
test it, unle
> When doing intensive testing (4 machines Put/Get 200 files) the
> ICS server aborts connection at times in Passive mode. Works fine
> in Active mode.If I use another server (eg. ALFTP) all is fine
> even in Passive mode.
Are you talking about the ICS FTP server? You don't say FTP anywhere.
W
> Yes I am using the ICS TFTPServer. No SSL. ICS version 8.44
> March. Delphi Seattle.Two physical Win7 machines with a VM in
> each effectively 4 machines.All sending files to a single machine
> in quick succession.After copy I am checking size and Renaming
> the file.Using TFtpClient in ASync
> I downloaded the SVN trunk of ICS and tried to compile the first
> package (IcsCommonDXE5Run.bpl) with XE5. Both Windows targets
> compile fine, however the OSX target does not. It tries to
> compile OverbyteIcsCryptUiApi:
That unit supports Windows APIs, so fails on MacOS. It allows access
> After a few minor modifications (see below), it compiles
> successfully on MacOS.
>
> OverbyteIcsCryptuiApi:34
> - move {$IFDEF MSWINDOWS} to after "interface"
>
> OverbyteIcsFtpSvr.pas:2120
> - use System.SysUtils.DirectoryExists(Dir)
>
> OverbyteIcsSmtpProt.pas:2219:
> - use ErrorCode inste
> We have to comunicate via SFTP (FTP over SSH --> SSH 2.0 OpenSSH
> 6.7_pl) and we would like to know if there is way with ICS ? If
> not, have you some advice for the components to use ?
SFTP can mean several different protocols.
The SSH version precedes proper FTP with SSL/TLS and does not p
> The server is owned by a state administration and we have no
> choice possible or at least we can not offer another file tranfer
> solution...
FileZilla Client offers SSH FTP. Not looked for SSH FTP Delphi
components, never used the protocol.
Angus
--
To unsubscribe or change your setting
ICS V8.50 has replaced V8.49 as the latest stable release.
There are various bug fixes for changes in V8.49 and better
compatibility with OS-X and C++.
The only substantial new feature is HTML unicode decoding with various
new functions to assist with determining the character set and codepag
> I_ve send the below fix for a memory leak in ICS a while ago, but
> This fix has not been implemented yet in the current v8.50
> version.
> Maybe you_ve missed it?
I don't see your original message from August in the mailing list, or
at least my copy, perhaps because your emailer is not sendin
> Is it just me or has the Wiki
> (http://wiki.overbyte.eu/wiki/index.php) disappeared?
It was fine on Tuesday, but the VM has probably run out of disk space
(again) so is currently dead, only Francois can fix it.
As always, the latest overnight zip and SSL files may be downloaded
from my web s
> Problem is fixed, at least as seen from here.
Confirmed, wiki uploads worked fine last night, and content is up to
date.
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:
> A customer is reporting an issue. Perhaps someone understands
> this error better than I do:
> Error: 10053, Status: 404, Reason: SSL handshake failed -
> error:14094458:SSL
> routines:ssl3_read_bytes:tlsv1 unrecognized name
SSL handshake failures are difficult to diagnose, despite the seeming
Many of you will remember Arno Garrels, who was a major contributor to
ICS for many years.
In April 2014, he privately told Francois and I that he was being
treated for cancer, we heard from him a couple more times, but then
nothing.
I've just found an obituary from a old friend saying he die
> i have an OLD procedure in Delphi6 it used TnCnx which head
> TnScript1.TnConn.SetSSHUserPass(GlobalLogIn, GlobalPassWord);
> TnScript1.TnConn.SetIsSSH(true);
> Now in Delphi 7 i installed a new library, a long time ago,
> OverbyteIcsV8Gold
> which dose not have this 2 function
> SetSSHUserPas
Four new zips for Win32 and Win64 versions of OpenSSL 1.1.0g and 1.0.2m
can now be downloadable from the Wiki at:
http://wiki.overbyte.eu/wiki/index.php/ICS_Download
PLEASE NOTE the EU in the URL, not BE, this is a new wiki server.
There is one moderate security fix relating to Intel Broadwell
> HI for all, i do a prototype to transfer a imagem overt internet
> with Twsocket,
> but in local network works fine, but when i test with a remote
> computer in internet connection
> the file is sended but dont receive or receive a image with lost
> collor.
Your code assumes that Send() will
> I try send by block and have the same problem.
> Sleep(100);
If you changed that to Sleep(5000) it would probably work, but very
slowly
As I said originally, you should be using the OnDataSent to determine
when the data is sent successfully, not just waiting and assuming the
internet
> anything is wrong ?
Do you mean your code does not work correctly.
We have made various suggestions about how it should be written to work
correctly, but you have yet to implement any of them.
Angus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://list
> 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?
The onSessionConnected event is always called after Connect, with an
Error number. If not zero, connection fai
> >That is 25 versions old, lines move. What function?
> function TCustomWSocket.GetPeerAddr: String;
Thanks, literal corrected.
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 a
> Hi. I proposed in the past to include my c++ package. However I
> wad told my package is only vcl and fires not contain fmx part so
> it can't be included.
I've looked back through all threads about C++ and I can not see where
I said that.
I have said in the past that to include C++ packag
> If I try and connect to a FTP server and that computer isn't even
> switch on, the FTP client gives up after about 25 seconds. Is
> this timeout goverened by the FTP component or by something
> deeper down in Windows networking. I was just wondering if I
> could shorten this timeout period.
> So I can send you the complete package containing project group
> and all six package project files.
Thanks, please send to my email, not the list.
Angus
--
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
> ICS sockets have built-in timeout feature, just define
> BUILTIN_TIMEOUT and use TimeoutIdle / TimeoutConnect / OnTimeout.
I suspect TimeoutConnect has never been tested, it is not implemented
in any ICS protocol components or samples.
Components like FTP would need the OnTimeout event to be
> I was quickly able to implement the telnet part using a TWSocket
> component. This works successfully through the Socks proxy and I
> am very happy with it. A particular point to note is that DNS
> resolution is done by the proxy machine, which is a requirement
> of the project.
>
> For the
> So today I have dived into OverByteIcsHttpProt.pas and made a few
> small hacks as under to bypass the DNS lookup:
Thanks, I will look at this, but not this month. Stuff like this is
easy, it only got broken because SOCKS got forgotten.
> For me, a cleaner way would be to get the IP address
> Btw, isn't this line
> > FCtrlSocket.SslEnable := ((FProxy = '') and (FProtocol =
> > 'https'));
> silently drops security transfer?
A little googling suggests the SOCKS protocols do not officially
support SSL, although some implementations like Wingate will accept an
SSL/TLS connection before
> I_m trying to send email via gmail.com. Which perfectly worked
> since a while ago.
> but now it seems gmail (I think this is the reason) is rejecting
> the 01cert.pem certificate Because the encryption is too weak.
Client SSL applications rarely need to send certificates, so just leave
SslCer
> What happens if this value is left blank as well -- does it skip
> checking validity of CA? Is there any way to have the components
> instead use the CA roots that Windows maintains in the
> Certificate Store?
Yes, the sample OverbyteIcsMsVerify.dpr will Verify a certificate chain
using the c
> So today I have dived into OverByteIcsHttpProt.pas and made a few
> small hacks as under to bypass the DNS lookup:
> FCtrlSocket.DnsLookup('');
I've fixed the SOCKS host name issue for the HTTP client and improved
the error messages that come back when a proxy fails.
It's in SVN now, it
> I'm trying to post some data to some of my https web sites (for
> sample https://www.millesimo.com/index.php) but I always get the
> error "SSL handshake failed". My code works well with other sites
> (https://www.microsoft.com/it-it, for sample).
>
> ICS: r20 | francois | 2009-09-10 07:50:47
> I suppose that version 8 doesn't works with the old C++ Builder
> 6.0 (I can't change this, for now), so I have no choice.
I think you are stuck with ICS v5. ICS v6 in 2012 ceased support for
CB6, with CB2006 the oldest, which we still support with v8.
New versions have new language feature
> In C++Builder 6.0 you can use (u)int64_t in your code
This was 12 years ago now, but I think the main issue was 64-bit
streams which did not work until Delphi 7, and I assume that is after
CB6. But I never worked on C++.
Angus
--
To unsubscribe or change your settings for TWSocket mailing l
Two new zips for Win32 and Win64 versions of OpenSSL 1.0.2n
can now be downloadable from the Wiki at:
http://wiki.overbyte.eu/wiki/index.php/ICS_Download
PLEASE NOTE the EU in the URL, not BE, this is a new wiki server.
There is one moderate security fix relating to badly written
applications
> It seems that LocalIPList on a Mac (POSIX) returns only a single
> IP address
> Note that it seems that gethostbyname() is also a documented as
> depreciated function.
> I switched and used IcsGetInterfaceList() which seems to work. I
> can toss out the AF_INET6 records and the local loop back
> I use the 01cert.pem etc. as example files
SSL client applications don't need certificate or private key files,
unless the server is high security and requires secure identification
of remote users, like access to corporate LANs, money transfer services.
You only need a root CA file bundle, and
> Also if I set the PROT to C, both the listAsync and getAsync
> responses are encrypted. If PROT is set to P, only the getAsync
> response is encrypted.
That does not seem correct, C should not use SSL atall. I'll put this
on the list to look at, but it may be several weeks, or longer, none of
> I'm not sure I am verse enough at the lower level code to offer
> an opinion as to what is "correct" or not. However, just in case
> someone sees this in a future thread search, here are my thoughts:
Thanks for that lot, I will look at it, but not until next year.
Angus
--
To unsubscribe
> Hold fire on what I said before. I am still in learning mode as
> this is all new to me.
I would suggest you at least try the compiled version of my high level
TMagFtp component from:
https://www.magsys.co.uk/delphi/magxfer.asp
which handles all this stuff automatically. If TMagFtp works, t
> 1) It seems that IcsGetInterfaceList() would fail if, for some
> odd reason, the computer only had IPv6 interfaces.
This would only be on Windows not MacOS, and I suspect it's impossible
to install Windows without IPv4, too much stuff is dependent on it.
> 2) This is my function to replace
> I have 2 ftp components and both are logged into the server. The
> first just does a LIST command every 3 seconds. The second does
> the GET commands.
> After 198 GETs I receive and error 10054. I re-connect both ftp
> clients and after a further 198 GETs the same thing happens again.
So you
501 - 600 of 685 matches
Mail list logo