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.

1916 questions
22
votes
2 answers

How to copy files using DropBox REST API in Delphi

I do not seem to manage the file copy operating using the dropbox api. I can successfully authorize my client, download and upload files. The copy operation needs POST method to be used and I think this is where I produce wrong request. I am…
Nostradamus
  • 623
  • 5
  • 17
20
votes
3 answers

Download file progressively using TIdHttp

I want to implement a simple http downloader using TIdHttp (Indy10). I found two kind of code examples from the internet. Unfortunately none of them satisfy me 100%. Here is the code and I want some advise. Variant 1 var Buffer: TFileStream; …
stanleyxu2005
  • 7,741
  • 10
  • 54
  • 86
19
votes
6 answers

Indy TCP Client/Server with the client acting as a server

How can Indy's TIdTCPClient and TIdTCPServer be used in the following scenario: Client ---------- initate connection -----------> Server ... Client <---------------command------------------- Server Client …
jpfollenius
  • 15,826
  • 9
  • 83
  • 148
17
votes
7 answers

Best practice: Keep TCP/IP connection open or close it after each transfer?

My Server-App uses a TIdTCPServer, several Client apps use TIdTCPClients to connect to the server (all computers are in the same LAN). Some of the clients only need to contact the server every couple of minutes, others once every second and one…
Holgerwa
  • 3,398
  • 7
  • 40
  • 49
17
votes
3 answers

How to make an HTTPS POST request in Delphi?

What is the easiest way to do an HTTPS POST request in Delphi? I'm not having problems with making HTTP POST requests, but how can I do it using SSL? I've googled around and haven't found anything that explains this well enough. Here's the code I…
Peacelyk
  • 1,126
  • 4
  • 24
  • 48
17
votes
8 answers

Indy or ICS or ?

Can any one tell me which is more stable? I know each has their own advantages and disadvantages. But which one is better for http, etc? In my previous application I used indy9 but I wasn't satisfied with it, as I would sometimes get strange…
radick
  • 405
  • 2
  • 6
  • 12
17
votes
3 answers

How to use a dll outside of the system path

I made an application that uses the openssl dlls (libeay32.dll and ssleay32.dll). It is indy using them, I don't call the dlls directly. The simplest workaround i found to avoid an installer (i just delpoy an exe and i am ok with this approach) is…
LaBracca
  • 13,941
  • 34
  • 129
  • 224
16
votes
2 answers

Detecting IE Proxy settings and using with TIdHTTP

How do I set TIdHTTP to use IE proxy configuration? It should be compatible with XP/Vista/Win7 and reliable.
ZigiZ
  • 2,400
  • 2
  • 23
  • 37
16
votes
1 answer

Step by step upgrade of Indy 10 in Delphi 2009

Can someone help in telling the details on how to uninstall Indy 10 and install the latest build? I found it http://indy.fulgan.com/ZIP/IndyTiburon.zip There is a similar question, but not a satisfying answer, just some comments from the user who…
LaBracca
  • 13,941
  • 34
  • 129
  • 224
16
votes
1 answer

Download a File from internet programmatically with an Progress event using Delphi and Indy

I need a way to download a file from the Internet using Delphi via HTTP, Which include an Progress event, I'm looking for a method which uses the Indy components. I am using Delphi 7.
Salvador
  • 15,053
  • 31
  • 128
  • 232
16
votes
5 answers

INDY 10.1.5 - Which SSL dlls work with Delphi 2006?

I'm trying to connect to google documents (following Marco Cantu's excellent REST example) but I am getting the following SSL errors: 1) If I use the SSL dlls from openssl-0.9.8i-i386-win32.zip I get the error: "Could not load SSL library" 2) If I…
Mattl
  • 1,540
  • 3
  • 21
  • 49
16
votes
4 answers

How to get images from URL in Delphi

I am looking for any code samples that show how to pull images from URL into Delphi TImage component. Thanks,
Greener
  • 457
  • 3
  • 9
  • 21
15
votes
5 answers

How to handle received data in the TCPClient ? (Delphi - Indy)

When i send a message from TCPClient to a TCPServer it will be handled using OnExecute event in the server . Now i want to handle the received messages in the Client but TCPClient doesn't have any event for this. So i have to make a thread to handle…
Kermia
  • 3,963
  • 11
  • 56
  • 104
14
votes
2 answers

Indy 10 Http Server sample

I need a simple code sample for Indy 10 Http Server When request (post) simply displays it Is there an Indy 9 sample for this? Thanks
SridharanS
  • 157
  • 1
  • 1
  • 3
14
votes
3 answers

Using Gmails Outgoing SMTP from DELPHI(Indy) using TLS

I am using INDY to send Email using the SMTP client on port 25 with no problem. Now I need to send an Email using a Gmail account and for that I need to use TLS. Can anyone provide a simple sample on how to do that. Thanks
DRokie
  • 685
  • 2
  • 9
  • 19
1
2 3
99 100