This project is read-only.

Scribd.Net.Document.Upload function

This function uploads a document into Scribd service.



  • string path : Local or Url of the document you wish to upload.
  • string documentType : The 3-letter document type (txt, doc, pdf...)
  • AccessTypes accessType : Public or Private accessibility of the document.
  • int revisionNumber : The original document identifier that is now being revised with this upload.

Return Value

  • Document : The settings of the document as returned from Scribd.

Usage Example

// Set up upload notification
Scribd.Net.Document.Uploaded +=new EventHandler<DocumentEventArgs>(Document_Uploaded);

// Send our PDF document to Scribd.
Scribd.Net.Document settings = Scribd.Net.Document.Upload(@"C:\world.pdf");

// Tell me what the new document id is...
Console.WriteLine("Document Id is {0}", settings.DocumentId.ToString());

See Also

Last edited Mar 13, 2008 at 4:48 PM by JPaulDuncan, version 7


No comments yet.