Upload a doc.