Questions tagged [indy]

Questions related to the Indy (Internet Direct) open source networking library for Delphi, C++Builder, and FreePascal development environments. Not to be confused with the HyperLedger Indy distributed ledger/utility library.

Indy (Internet Direct) is an open source networking library for Delphi, C++Builder, and FreePascal development environments. It supports client and server implementations of TCP, UDP and RAW sockets, as well as over 100 higher level protocols. Some of the popular supported protocols include: SMTP, POP3, IMAP, NNTP, HTTP.

Indy's home page: http://www.indyproject.org


Do not confuse Indy (Internet Direct) with the HyperLedger Indy distributed ledger/utility library for HyperLedger. Please do not use the tag for topics related to HyperLedger Indy, use the tag instead.

2074 questions
0
votes
1 answer

Indy TIdhttp.Get is not loading proper version of SSL

I am trying to make an interface to FreshDesk API Here is my source code for the call: procedure TForm1.Button1Click(Sender: TObject); var IdSSLIOHandlerSocket1: TIdSSLIOHandlerSocketOpenSSL; idhttp: TIdHttp; begin idhttp :=…
M Schenkel
  • 6,294
  • 12
  • 62
  • 107
0
votes
0 answers

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. In my application, I want the server to…
0
votes
0 answers

Delphi XE7 FMX Android FTP Connection Exception

how can i catch a connection exception on android when connection to FTP. Code At the Moment : idftp1.Host := Servidor_ftp; idftp1.Username:= Usuario_ftp; idftp1.Password:= Contraseña_ftp; Try idftp1.Port := StrToInt(Puerto_ftp); except …
vexen
  • 345
  • 1
  • 4
  • 20
0
votes
2 answers

Wrong result of TIdURI.URLDecode when unit LazUTF8 is used

With Free Pascal 3.0.4, this test program correctly writes ÄÖÜ program FPCTest; uses IdURI; begin WriteLn(TIdURI.URLDecode('%C3%84%C3%96%C3%9C')); ReadLn; end. However if the unit LazUTF8 (as described here) is used, it writes ??? program…
mjn42
  • 830
  • 1
  • 8
  • 24
0
votes
0 answers

How do i track long running operations on my idHTTPServer?

I want to track long running operations on idHTTPServer from idHTTPClient by ping. How would I do that better way ? I need something unique for that. I tried with bind.id but with no success. lets say i give something unique when thread is started…
0
votes
1 answer

How to download multiple files at once with TIdHTTP

I'm currently using TIdHTTP from Indy with my Embarcadero C++Builder 10.1 Berlin. I have read some online tutorials on how to make TIdHTTP multi-threaded, but the main issue is I already tested this component in a thread. So here is how it works. I…
Abdennour
  • 65
  • 1
  • 8
0
votes
0 answers

10054 & SSL errors from non-Indy client to Indy Server (kbmMWTCPIPIndyServerTransport)

We have a kbmMW server that uses an Indy TCPIP Server Transport behind the scenes. We have a server that is currently in testing with a mobile client that is under development. Overall everything is working pretty well, but we occasionally get…
DeCoder
  • 173
  • 1
  • 15
0
votes
1 answer

How to send several emails in a single connection of IdSMTP?

I am using Indy 10 on C++Builder 6.0 Professional Edition. My SMTP server imposes a limit on the number of connections in a certain time interval, so I need to send more than one email using the same connection. Is it possible? How can I do that ? I…
0
votes
0 answers

What can cause socket erro 10060

I'm using TcpClient and when try connect to a external server i receive the error socket error 10060. What can cause it? because if i use a TClientSocket and try connect to the same port (using TServerSocket) he connect fine without any error like…
0
votes
0 answers

Delphi http get content

I try to get content from a website (Jira rest api in https). In my enterprise there is sso to connect to this website. When I use idHTTP to get content I got a HTTP 1.1 400. There is a existing software who do that write in Java. Firstly we need…
Bosshoss
  • 783
  • 6
  • 24
0
votes
1 answer

TidHTTP error "A port is needed" when trying to Connect

I am attempting to connect to a secure server using a TIdHTTP component. I have assigned a TIdSSLIOHandlerSocketOpenSSL I/O Handler to the IOHandler property, and I have downloaded the OpenSSL files. When I invoke Connect(), it generates an "A port…
Bob Evens
  • 55
  • 1
  • 6
0
votes
1 answer

Why do i have raise exception on ServeFile in idHTTPServer?

Trying download file from idHTTPServer. From browser i do smth like localhost:7777/files/2019/1/7/1.php and downloading the file at last. But when i close server in debug mode i have following error EidClosedSocket with message "Disconnected" How…
0
votes
1 answer

Indy TFTP Server Exception EIdTFTPAllocationExceeded

I am receiving an EIdTFTPAllocationExceeded exception when transferring a file from me (the server - using the Indy TIdTrivialFTPServer component) to a device. I cannot find any information about what that exception might mean except maybe a disk…
Brian P.
  • 206
  • 3
  • 14
0
votes
1 answer

Distinguish EIdDnsResolverError of different kind

I am scanning for DNS servers in a local network using TIdDNSResolver, so the result of a DNS request is not important. I check if there is a DNS server at all. The app should also not depend on the requested DNS record existence, so instead of an…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

How to format odd headers when adding to the TIdHTTP component via AddValue()

I am using idhttp.Request.CustomHeaders.AddValue(x,y); This is working fine for me, but now I have come across a different header and am not sure how to add it or what value, string to use. In the past, I have used 'SOAPACTION','http://url/action'…
RDT
  • 1
  • 7