Receiving a file from an HTTP post

I see a lot of examples of how to send MultiPartFormData to a server
using the Indy components but not really any on how to read it. I
would like to be able to create a server that receives files sent via
the HTTP post. I am trying to use the TidHTTPServer and the
TidMultiPartFormDataStream class but can not seem to get it to work.
Any suggestions or examples would be appreciated.