Best way to check in external files

I'm hoping someone can help.  I need to check in PDF files that are being retrieved from our external ERP application via a server side method.  I can write the file from the web service to disk, but need the best method to create the Document item and check it in to the repository.  Any sample code would be greatly appreciated.
Parents Reply Children
No Data