Questions tagged [indy10]

Indy 10 is a reference to a specific version of Indy.

1
vote
2answers
28 views

How to set download location for ftp.get with Indy Delphi component

I can successfully download a file from my ftp server using: ftp.get(chosenFile,chosenFile); Where chosenFile is simply a string with the name of the file. However these are downloaded to the Debug ...
0
votes
1answer
18 views

Http Post Indy10 Error Delphi 7: Error creating SSL context

I'm using Delphi 7 with Indy 10.6.2.5459 to make a POST request to a server from time to time: sParams :='?ultimaAlteracao='+FormatDateTime('YYYY-MM-DD',now())+'T00:00:00.000'; FidHTTP := TIdHTTP....
2
votes
0answers
58 views

Delphi Indy: Suddenly experiencing 14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure

I have been using Delhi XE8 VCL application Indy 10.6.2:5263 OpenSSL 1.0.2k (https://indy.fulgan.com/SSL) Windows 10 The following code was working until March 5, 2019 procedure TForm2.Button1Click(...
0
votes
0answers
18 views

Send command from TIdCmdTCPServer

I am receiving commands from a client in TIdCmdTCPServer and this works great. Now I want to send events to the client, but I cannot seem to find any place to do this. I know how to do it in ...
0
votes
0answers
57 views

Delphi Indy HTTPS web server errors (EOF was observed that violates the protocol)

I am trying to add HTTPS support to an existing web server written in Delphi XE7 using Indy. I have written a simple application which just returns a date/time stamp on each HTTPS request. I added ...
0
votes
0answers
32 views

Capturing multicast video

I have a server that is using VLC to multicast a video using UDP to IP 192.168.139.1 and port 1234 and using RTP with the same IP and port 5004. I can use VLC on the client PC to see the video that is ...
1
vote
0answers
43 views

IdHttp HTTPS Handshake Failure

Delphi: XE 8 Indy ver: 10.6.2 Open SSL Library Produce Ver: 1.0.2q (ssleay32.dll, libeay32.dll) I'm getting the following error from my Delphi app when trying to make the following Get call: ...
0
votes
0answers
48 views

Delphi XE7 Android FMX threading for internet connections

im trying to connect to a FTP server from my android app, all works correctly if there is no exception, but if i get a timeout the Android app just closes. I did create a thread for the FTP ...
0
votes
1answer
50 views

Which Indy TIdHTTPServer code ir responsible for server side checking of SSL versions and ciphers?

I am using Indy 10.6.2 (current version from SVN) server components in Delphi 2007 and client components in Delphi 6 application, and of course OpenSSL. I am receiving "Error connecting with SSL. EOF ...
0
votes
0answers
20 views

Pushing messages from server to client with Indy

I have a general question about the server/client sequence for Indy 10. In looking at examples, it seems that the client must first make a request and then the server responds in its Execute handler. ...
0
votes
1answer
26 views

Reading unknown amount of bytes from IdTCPServer connection in delphi

I am setting up a client/server program to send and receive unknown amount of byte in my application. How to receive unknown buffer size in my program? I pass my data to TIdBytes variable and ...
0
votes
1answer
40 views

How To Fix Indy TIdTCPServer Freezing When Sending Text To TIdTCPClient?

Cannot send text from TIdTCPServer To TIdTCPClient, the server hanging (Not Responding), it just freezes when trying to send text to the client. I Started Recently using Indy TIdTCPClient and ...
0
votes
0answers
22 views

Is it possible to leave the SMPT connection open for multiple messages? [duplicate]

I read the blog https://www.indyproject.org/2008/01/16/new-html-message-builder-class/ I have managed to send mails in plain text and HTML + images. Following the code I noticed that the login ...
0
votes
1answer
87 views

TIdTCPServer hangs when setting Active = false

I was looking at this example for using TIdTCPServer/client components and I found that if there are any clients then the server component will hang when you change active to false. Specifically, it ...
0
votes
1answer
22 views

Authorization response of TIdHTTP->Connect() to get session ID

I am using the TIdHTTP component to connect to my server. I am using the following code for that (this is not complete code, I have removed unnecessary code lines). With the below code, I can connect ...
0
votes
0answers
26 views

IdFTPServer Exception 'Connection reset by peer'

I've setup a simple FTPServer that only serves a specific purpose. Watching the code when a get is performed, I see GetFileDate and GetFileSize called twice, but I never see RetrieveFile being called. ...
0
votes
0answers
55 views

Error messages after updating Indy components on Delphi XE

I'm trying for the second time to update Indy components on Delphi XE. I've followed the instructions below : http://ww2.indyproject.org/Sockets/Docs/Indy10Installation.EN.aspx So far it seems i ...
1
vote
1answer
55 views

Multiple TIdCmdTCPServers on same application

I'm developing a server with many client requests. According to the type of requests, I want to use a separate TIdCmdTCPServer for each type of request. In fact, it's an Accounting software that I ...
0
votes
1answer
57 views

How can I get my Delphi TS3 Serverquery IdTelnet to run as a console application?

I need to run my Delphi application in console mode so that I can run it on my VPS as a Wine emulated application on my Linux server so that it communicates via telnet to my Teamspeak server as ...
0
votes
1answer
59 views

TIdCmdTCPServer and data synchronization with main thread [anomaly?]

Situation looks like this. External application client.exe sends a command MONITOR_ENCODING every ~250ms to the server. In server application I use IdCmdTCPServer1BeforeCommandHandler to read sent ...
0
votes
1answer
74 views

Indy http server session doesn't work well

How can create session used with in idhttpserver ? I tryed alot of ways to do but I can't able to reach session object in ARequestInfo.Session or AResponseInfo.Session these are both of them always ...
0
votes
0answers
93 views

using a TIdSMTP component to send mails to a server with TLS/SSL configuration

I need to send mails using Delphi7 and the Indy10 component TIdSMTP; the mail must sent to the server of the Italian tax office. I used a simple MAPI component to send emails, but now it is necessary ...
-1
votes
1answer
220 views

TIDHTTP : Could not load SSL library on non https URLs

I'm using TIDHTTP to download a zip file from a non https url, like the code below : IdHTTPProgress.DownloadFile('http://www.myurl.com/myfile.zip','c:\myfile.zip'); Nevertheless i'm getting the ...
0
votes
1answer
57 views

Reading stream of Data using TIdIOHandlerStream and TIdTCPClient

I have an app that needs to connect to a server using TCP/IP and then just wait for server to send data, and what ever server sends should be saved into a file. Here is what I did: The Header file #...
1
vote
1answer
95 views

How to kill all active connections and stop IdTCPServer? Indy10

With open connections IdTCPServer.Active:=false; causes the program to hang. How to kill all active connections and stop IdTCPServer? I am trying to do the following: procedure TMyServer.Stop; var ...
0
votes
1answer
41 views

Indy10 ConnectTimeout minimal value

I have a problem regarding the ConnectTimeout from Indy 10's TIdTCPClient. When setting the ConnectTimeout higher than 125ms the Connect() procedure will block the current thread for 125ms. If it is ...
0
votes
1answer
118 views

Stopping thread and disconnecting indy tcp client on form close

I do write an app, that uses Indy 10 TCP/IP Client and TThread. The app connects to the server on Form.OnCreate event and disconnects from it on Form.OnClose event. Connection to the server is ...
-1
votes
2answers
49 views

C++ Builder - Indy - Receiving certified emails

i'm using C++ builder 6 and Indy 9/10. I'm coding to receive certified emails with attachments (basically pdf and xml files). When i receive the email, it have a TidMessageParts with one multipart/...
-1
votes
1answer
83 views

Read all available bytes from TCP Socket (unknown byte count)

I am having Problems useing the Indy TIdTCPClient. I want to call a function, everytime if there is Data available on the socket. For this I have a Thread calling IdTCPClient->Socket->Readable(...
0
votes
1answer
81 views

Indy IdHttp Proxy, which protocols Support?

I am using indy idhttp to work with telegram api,my code is something like this: LHandler := TIdSSLIOHandlerSocketOpenSSL.Create(nil); idHttp.ReadTimeout := 30000; idHttp.IOHandler:=LHandler; ...
0
votes
1answer
87 views

TIdFTP corrupted file after upload

Recently we changed the company that hosts our domain from Windows to Linux hosting. Since then, any file i upload using TIdFTP is uploaded without errors, but when i try to download this file, the ...
0
votes
1answer
78 views

Code on TCP doesn't work. What is my problem with live audio stream?

I use LiveAudioPlayer to stream audio over TCP with Indy. This is the code of the client: function TForm1.LiveAudioPlayerDataPtr(Sender: TObject; var Buffer: Pointer; var NumLoops: DWORD; var ...
1
vote
0answers
104 views

TIdhttp HTTPS handshake Failed

I am using Indy 10 to connect to a SOAP Web Service. When I run the code with Fiddler running I find the webserver is not negotiating our Handshake. I have attached a screen shot of the Fiddler ...
0
votes
0answers
140 views

Indy 10 (Delphi 10.2), HTTPS: No shared cipher (newbie question)

This is my first foray into using SSL with the Indy 10 TIdHTTPServer (in conjunction with the TIdServerIOHandlerSSLOpenSSL IOHandler), and I've hit a wall. I've make a small test app which ...
-1
votes
1answer
65 views

TIpTCPServer and Client in one application

I make an application where the client and the server are in the same program. I use Delphi XE7 and components TIpTCPServer / ... Client. But when I try to close the server with the client connected (...
3
votes
0answers
506 views

Delphi/Indy 10 - Sending a text or HTML email with attachments adds an attachment for the text (body) itself

For years, we've been using Indy 10 to send emails (text, not HTML) with one or more PDF attached to it and we never had any problem. Recently (maybe since Tokyo release 3 ?), our customers noticed ...
0
votes
1answer
56 views

How to enable Perfect Forward Secrecy In Indy 10?

I'm using OpenSSL 1.0.2o with Indy 10.6.2 in Delphi 2010. This is what I have done so far: procedure TServerForm.FormCreate(Sender: TObject); var LEcdh: PEC_KEY; FSslCtx: PSSL_CTX; SSL: PSSL; ...
0
votes
0answers
171 views

Upgrading Indy on Delphi XE

I've been struggling to upgrade Indy on Delphi XE. I followed the instructions on the link below : http://www.indyproject.org/Sockets/Docs/Indy10Installation.en.aspx Here what i did : 1 - Removed ...
2
votes
1answer
44 views

IdIOHandlerThrottle missing in indy10

I can't find the IdIOHandlerThrottle component in Indy10. Is it removed or replaced ?
0
votes
0answers
143 views

Indy 10 Client Certificate: All in One .pem File?

tl;dr: Is there a way for TIdSSLIOHandlerSocketOpenSSL to use one .pem file that includes cert, root, and key for a client certificate? Details: A vendor partner requires us to use mTLS ...
0
votes
0answers
38 views

Indy 10 shows “ConnectionTimeOut” error after 4 - 5 connects

I created a thread that should connect to server and send request and read the response as stream. Execute method of thread is declared like this : FTcpClient := TIdTCPClient.Create(nil); ...
0
votes
1answer
63 views

Posting webform data when the names are random with indy

I'm trying to create a login to https://umod.org/login but I'm having a hard time to understand exactly how this works. Why do I want to create a login? Their site API has a rate limit of 40 for ...
1
vote
0answers
31 views

Add embedded image to an email with TIdAttachmentFile [duplicate]

My problem is that I added an embedded image to an email using TIdAttachmentFile, so far it has worked with Outlook as I want, but not with Gmail. The image is added and Outlook appears correct, but ...
0
votes
0answers
194 views

Using Indy 10 Delphi to open email message body and populate the text into a memo box

I looked here Evaluate Email with Indy 10 and DELPHI for help but was still unclear on how to get the answer. I am trying to make an app that receives email from any pop server which then lists the ...
0
votes
1answer
76 views

How I can decode TIdMessage from koi8-r to windows-1251?

I use Embarcadero C++Builder 10.2 Tokyo with Indy 10. The task is to check emails via POP3. I can get emails, but I don't know how to decode their subjects, attachment file name, etc from koi8-r to ...
0
votes
1answer
321 views

Why does my Delphi Indy idHTTpServer stop responding when CLOSE_WAIT?

The Environment I've created a web server in Delphi using Indy component TidHTTPServer. I'm using Delphi XE2 which came with Indy version 10.5.8. The server is running as a desktop app with a form ...
1
vote
0answers
125 views

Delphi Indy 10 HTTP Client curious behaviour with .NET IIS Application

I've come across a curious problem with Indy 10 IdHTTP client. I have written an application which connects to a .NET HTTPS web site hosted on IIS 8.5, does a GET, extracts the Viewstate etc, and ...
0
votes
0answers
39 views

Using Indy10 components to download from alphavantage.co

I am working with financial data downloads from https://www.alphavantage.co. I am trying to get the download working in C++Builder XE4 Pro To access the data you need a free ApiKey here https://www....
1
vote
2answers
99 views

Can't get cookies from Indy TIdCookieManager

I have Indy 10.6, Windows 10, and Delphi XE7. In a response to an HTTPS GET request, the CookieManager states there are no cookies, but an HTTP Analyzer shows that there is: HTTP/1.1 200 OK Date: ...
1
vote
0answers
123 views

How to make TidFTPServer working with SSL

I m looking for example but can't find one working. How can i make TidFTPServer accepting SSL connection (password and data encrypted) ? I understand that i need to use IdServerIOHandlerSSLOpenSSL but ...

http://mssss.yulina-kosm.ru