erich.wanker Posted September 11, 2019 Share Posted September 11, 2019 This is not a UniGui Problem .. but i hope someone can help me... My Unigui App: Everything works fine on client-Server - until the one "Indy download function" ! ( from https -site ... ) on my System - it works (win10 32 Bit - Apache Webserver 32bit) on Client System - it does NOT work (Win Server 2016 64 Bit OS - Apache Webserver 32bit) I try to download the file with code: procedure .... var IdHTTP1: TIdHTTP; Stream: TMemoryStream; Url, FileName: String; begin Url := 'https://....'; FileName := mainform.datenpfad + 'index_download/' + 'xxx.csv'; IdHTTP1 := TIdHTTP.Create(self); IdHTTP1.IOHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil); Stream := TMemoryStream.Create; try IdHTTP1.Get(Url, Stream); Stream.SaveToFile(FileName); finally IdHTTP1.IOHandler.Free; Stream.Free; IdHTTP1.Free; end; In htdocs folder i have my UNIGUI.DLL i allso have the files from C:\Program Files\FMSoft\Framework\uniGUI\SSL in the same folder like the unigui.dll ssleay32.dll libeay32.dll i tryed both options (x64 / x86) .. but i allways become message "SSL-Library not found" on the Clinet Server System (win 2016 Server) Has anyone a Idea what is going wrong? ThanX Erich Quote Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted September 11, 2019 Administrators Share Posted September 11, 2019 Hi, Where do you put the SSL dlls? Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted September 12, 2019 Author Share Posted September 12, 2019 Hi Farshad .. same folder like UniGui.dll here i have a screenshot of my apache Webserver structure: Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted September 12, 2019 Author Share Posted September 12, 2019 Got it :-) Hard coding of ssl-dll storage-place was the solution... :-) IdOpenSSLSetLibPath(mainform.datenpfad + 'index_download/'); The reason Why i had the problems: A other software produkt uses SSL-dlls of OpenSSL ( but not the neseccary Indy-modified dlls) ThanX Erich Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.