Error in Indy10 TIdAttachment.SaveToFile?

Giganews Newsgroups
Subject: Error in Indy10 TIdAttachment.SaveToFile?
Posted by:  glup (nospam@kahn-gruppe.de)
Date: Tue, 24 Feb 2004

Could it be, that TIdAttachment.SaveToFile does have an error?

I read
  fs.CopyFrom(os, fs.Size);

but shouldn't it be
  fs.CopyFrom(os, os.Size);

Rgds

:-glup

Replies