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
8
votes
2 answers

Delphi Bug in Indy FTP List method?

I'm trying to generate a list of files matching a certain file mask and Indy falls over with this error EidReplyRFCError with message '.': No such file or directory. I've tried several variations and this is the result: FTP.List( aFiles, '', true…
Ian Francis
  • 181
  • 1
  • 1
  • 9
8
votes
1 answer

How to get the response text of a DELETE with TIdHttp?

Indy's TIdHttp class has - in a recent version - a Delete() routine. But for some reason, this is a procedure, not a function. Put(), Get(), etc. are all functions that return the content of the response body. Either as a string or have it…
Svip
  • 2,958
  • 3
  • 22
  • 33
8
votes
1 answer

Delphi + Indy causes high page fault and RAM usage

I experience one weird problem. I use Delphi and Indy to upload and backup some files. It runs just fine on many computers (Win7 64bit, WinXP) . CPU usage is less then 1% and max. 20MB in RAM. But there is one computer (Win 2008 R2) where it is…
smooty86
  • 1,112
  • 7
  • 13
8
votes
1 answer

Indy 10: Undeclared Identifier 'TIdBytes'

Sorry if my question is silly! I'm using Delphi XE4 and now I'm working on IdTelnet. But I got a problem with OnDataAvailable event. Take a look at this picture: So I cannot work with OnDataAvailable Event. Is this because of Delphi XE4? And How…
Sky
  • 4,244
  • 7
  • 54
  • 83
8
votes
2 answers

Login to facebook with Indy

I would like to login to my facebook account with Indy. The version is 9.00.10 and I use OpenSSL with TIDHTTP and assigned a cookie manager to it. Everything works fine (I can send a POST request a GET, etc.) I sniffed the actual login to facebook…
Ben
  • 3,380
  • 2
  • 44
  • 98
8
votes
2 answers

How to login to a Gmail account and get number of messages in a mailbox with TIdIMAP4?

How can I login to a Gmail account and get number of messages in the INBOX mailbox with TIdIMAP4 component ?
user1647411
8
votes
2 answers

IdHTTP basic authentication access violation

I'm trying to do a HTTP Authentication with Indy HTTP class. But for some unknown reason I'm getting an Access Violation error in this line: IdHTTP1.Request.Authentication.Username := Username; The code stretch is: IdHTTP1:=…
HwTrap
  • 303
  • 1
  • 3
  • 14
8
votes
1 answer

Delphi TidTCPServer and TidTCPClient transferring a record

I need help in understanding how to transfer a record through Indy TCP Server/Client. I have 2 programs, in I put client and in another server. On client on a button I put connect : Client is TIdTCPClient Client.Connect(); And at server side I am…
Samir Memmedov
  • 149
  • 1
  • 2
  • 11
7
votes
1 answer

How to optimize upload routine using Delphi 2010?

My yet to be released Delphi 2010 application allows users to upload their files to my servers. Right now I'm using HTTPS POST to send the files, the (simplified) algorithm is basically: Split File into "slices" (256KB each) For each slice, POST it…
TheDude
  • 3,045
  • 4
  • 46
  • 95
7
votes
5 answers

why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT

Why does my D2009 exe produce emails with attachments named ATTnnnnn.DAT when the same source code compiled in D2007 produces emails with attachments correctly named with the original file name? I am using the respective Indy libraries that come…
Richard King
7
votes
1 answer

How to get current bandwidth (download) speed ?

How to get current bandwith speed using IdTCPServer or IdTCPClient ? I want to know, how fast client is downloading data from server ? e.g.: Downloading speed: 450 kbps
jmp
  • 2,456
  • 3
  • 30
  • 47
7
votes
7 answers

How to build stand-alone SOAP web services using Delphi?

How can I build a stand-alone SOAP-based Web Services using Delphi? Must work with Delphi 2009, but it'd be nice if it worked with older ones too. The built-in WebBroker Web Services creates CGI or ISAPI. It would be nice to create a stand-alone…
Eugene Yokota
  • 94,654
  • 45
  • 215
  • 319
7
votes
1 answer

Delphi Indy - Eidconnclosedgracefully makes socket unusable

Scenario: Delphi 2010 running the latest Indy version from svn trunk. I have an application that uses a idHTTP to send http requests. This idHTTP is created only once and kept in memory as long as the application is running. I send a lot of web…
Rafael Colucci
  • 6,018
  • 4
  • 52
  • 121
7
votes
2 answers

Delphi 2009, Indy 10, TIdTCPServer.OnExecute, how to grab all the bytes in the InputBuffer

I am messing around with the Indy 10 supplied with Delphi 2009 and am having trouble with getting all the data from the IOHandler when OnExecute fires... procedure TFormMain.IdTCPServerExecute(AContext: TIdContext); var RxBufStr: UTF8String; …
Bruce
  • 440
  • 1
  • 12
  • 19
7
votes
3 answers

Indy 10 - IdHTTP.Get raising "Could not load SSL library"

In my application I am using IdHTTP.Get. A part of the code: var IdHTTP: TIdHTTP; begin IdHTTP := TIdHTTP.Create(nil); Output := IdHTTP.Get(url); ... IdHTTP.Free; Using IdHTTP.Version gives me the version: 10.6.2.5263 I have downloaded…
Teun
  • 579
  • 1
  • 7
  • 14