Hi there!

Me again ... My old CRC problem is back with Intraweb. I am using Intraweb as shipped in Delphi 7 enterprise to develop an ISAPI dll where users enter registration details and are presented a page containing IWLink.

When they click on the link I create a filestream to load up a self extracting winzip file and then send the file down using the sendstream method.

Here is a snippet of code:

F:TMemoryStream;
begin
s:='<windows path_name>\files\setup.exe';

F:=TMemoryStream.Create;
F.LoadFromFile(s);
WebApplication.SendStream(F,'','setup.exe', true);

The CRC error occurs when the user tries to run the self-extracting .EXE. It also occurs even if I send a .ZIP file rather than a .EXE file!!!

I thought it had disappeared last week ....

After some experimentation, the following code works with .ZIP files ... but still NOT with .EXE files!

procedure TFrmDownload.IWAppFormCreate(Sender: TObject);
begin
if fileexists('c:\<path_name>\setup.exe') then
DownloadUrl.URL:=WebApplication.URLBase+'/files/setup.exe'
else if fileexists('c:\<path_name>\files\setup.zip') then
DownloadUrl.URL:=WebApplication.URLBase+'/files/setup.zip';
end;

Has something changed in IE or the Microsoft operating system that I am not aware of? Has anyone seen this error and can shed some light???

Regards

Norm