Archive

Archive for the ‘Indy’ Category

OpenSSL v0.9.8j for Indy

January 8th, 2009

Hi,

yesterday a new version of the OpenSSL libraries has been published. I have just created precompiled DLLs for use with Indy again which are now available.

You can download the libraries from Fulgan’s Mirror.

Arvid Delphi, Indy ,

Fix: Indy Mail Attachment Filenames lost in D2009

October 2nd, 2008

Hi,

probably you already discovered a bug in Indy & D2009 that when sending E-Mails with attachments you will loose the attachment filenames.

This is related to a small bug in the Indy Version shipped with the initial release of Delphi 2009. It has already been fixed in the Indy SVN.

See the QualityCentral report for it: http://qc.codegear.com/wc/qcmain.aspx?d=66867

Bug Report Background:
Without the line break fix (see below) the attachment filename is printed in the same line as “Content-Disposition” and so some mail clients ignore the filename. Without it the file will have random names regarding to the used client.

If you do not want to update the whole Indy version shipped with D2009 you can fix the bug on your own:

1) Copy the VCL source file for IdMessageClient.pas from your D2009 directory:
C:\Program Files\CodeGear\RAD Studio\6.0\source\Indy\Indy10\Protocols\IdMessageClient.pas
to your project’s directory
2) Edit the IdMesageClient.pas and change the lines given below:

procedure TIdMessageClient.SendBody(AMsg: TIdMessage):
begin
...
  if LFileName <> '' then begin
    IOHandler.WriteLn(';'); // inserted for QC 66867, between original line 1214/1215
    IOHandler.Write('        name="' + LFileName + '"'); {do not localize}
  end;
  IOHandler.WriteLn;
  IOHandler.WriteLn('Content-Transfer-Encoding: ' + LAttachment.ContentTransfer); {do not localize}
  // next line fixed for QC 66867, changed IOHandler.Write<strong>Ln</strong> to IOHandler.Write
  IOHandler.Write('Content-Disposition: ' + LAttachment.ContentDisposition); {do not localize}
  if LFileName <> '' then begin
    IOHandler.WriteLn(';'); // inserted QC 66867, line 1220/1221
    IOHandler.Write('        filename="' + LFileName + '"'); {do not localize}
  end;
...
end;

3) Save and do a full-rebuild on your project
4) Verify that IdMessageClient.dcu has been created in your project’s directory

You can also replace the existing files in the Delphi 2009 source
directory at:

C:\Program Files\CodeGear\RAD Studio\6.0\source\Indy\Indy10\Protocols\IdMessageClient.pas

If you are doing the latter, be sure to replace the DCUs at:

1) C:\Program Files\CodeGear\RAD Studio\6.0\lib\Indy10\IdMessageClient.dcu
2) C:\Program Files\CodeGear\RAD Studio\6.0\lib\debug\Indy10\IdMessageClient.dcu

You may create the needed DCUs with the earlier mentioned steps, one
time without and a second time with enabled “Build Debug DCU” option.

Arvid Delphi, Indy ,

OpenSSL v0.9.8i for Indy

September 24th, 2008

Hi,

a new version of the OpenSSL libraries has been published on September, 15th 2008. I have created precompiled DLLs for use with Indy which are now available.

You can download the libraries from Fulgan’s Mirror.

Arvid Delphi, Indy ,

Where to get the current Indy version?

September 12th, 2008

Hi,

UPDATE – Please see this newer post about SVN access – UPDATE

as many users are asking again and again I’ll show you where to find the current Indy versions. Generally you have two choices:

Download using SVN or get your copy from Fulgan’s mirror.

The official download documentation is here. But I don’t know how long the page will stay at this location as we are going to change some things on the Indy website in future.

SVN
You can access the Indy SVN through your Browser or with any subversion client. Two of them I can recommend are SmartSVN or TortoiseSVN.

Use the following properties to access our SVN server:

Repository URL: svn://svn.atozed.com/indy/indy10

User: indy
Password: indy

That account will give you read-only access.

Note: The “trunk” folder has the current version. “branches” and “tags” are for advanced usage only.

UPDATE – Please see this newer post about SVN access – UPDATE

Mirror: Fulgan.com (Switzerland)
This mirror can be accessed on via anonymous FTP or HTTP. It is updated daily at 03:00 CET (GMT + 1).

Edit (Oct, 2nd 2008): Fulgan’s Mirror provides the current Trunk and SVN (both as .zip files). As always what you get is work in progress, so if you’re running into troubles try to update the downloaded version. Changelog is available in SVN or the Mirror’s root directory.

Arvid Delphi, Indy , ,

Updated OpenSSL libraries for Indy (0.9.8h)

September 12th, 2008

Hi,

I’ve been serving the users of the german delphipraxis.net Delphi Forum for about 1.5 years with updated OpenSSL libraries. Now, I’ve again updated the precompiled OpenSSL libraries for use with Indy.

To use them, you will need the latest Indy development snapshot from our SVN (FPC or Tiburón Branch).

You can download the libraries from Fulgan’s Mirror but keep respect to your national’s cryptographic regulations regarding strong ciphers.

P.S.: In 2007 Gumpi has posted my OpenSSL builds v0.9.8h here at his blog. Despite it’s now outdated I’ve included a description and patched headers so you can use the updated OpenSSL versions with older Indy versions. If more users are interested I will provide backward compatible headers patched for the current OpenSSL versions.

Arvid Delphi, Indy ,