WoltLab/WCF — pull request #1423 by soettl (2013-07-22 14:28:05+00:00)
Title: Added FileReader class

This commit adds the util class ```FileReader```. With this class you can easily add the support for downloading files to pages and other classes - without the need to copy code.

Options are holding the data needed to provide the download (or the inline view for images,..).

I have already adapted the ```AttachmentPage```. As this pull request only affects this mentioned page, I would really appreciate it if you merge this pull request into the WCF 2.0 series. It makes it a lot easier to create extensions which provide the functionality to download files.

Of course I have tested my changes - and I noticed no negative effects.