This method can be used to stream an attachment to a web client
public static void DownloadAttachment( Guid attachmentId,
HttpResponse httpResponse );
Parameters
attachmentId
Attachment ID for the file that is to be downloaded
httpResponse
HTTP Response object
See also:
Class AttachmentWebHelper