Added ContentLength to Attachment, so download progress can be displayed in the browser