Uploading new files using eB SDK

Hi,

 

Please assist. I need to be able to upload a new file to a newly created document in eB using C#.

I noticed the eB.ContentData.File class. Can I use this?

If possible please provide some code snippets or a sample C# project solution.

Regards

JS

Parents Reply
  • Jemaine,

    Here is the option in Core:

    public enum WriteOptions 
    { 
    /// <publish type="Internal"/> 
    /// <summary>Copies files from the source destination in chunks.</summary> 
    CopyBlobs = 0, 
    /// <publish type="Internal"/> 
    /// <summary>Adds a file directly from a URL.</summary> 
    CopyURL = 1, 
    /// <publish type="Internal"/> 
    /// <summary>Adds a file directly from a URL, then deletes the existing file from the source URL</summary> 
    MoveURL = 2, 
    /// <publish type="Internal"/> 
    /// <summary>Creates a link between an external file and an object, the file is never copied into the system.</summary> 
    ExternalLink = 3 
    }

    Regards,
    Manav B.



Children