I assume you just use the Post Quick Reply form at the bottom of the thread normally? Instead, click Go Advanced. You get more options, including a box called Attach Files. Type your message in the normal way, then click Manage Attachments in that box. That opens a window where you can select a file and upload it. It will then appear as an attachment to your post when you click Submit Reply.