Level up your Box knowledge with brand new learning paths on Box University. Visit training.box.com to get started

.NET SDK - upload file with versioning

Répondu
Nouvelle publication

Commentaires

2 commentaires

  • Murtza

     Upload File and Upload File Version are implemented as different methods in the .NET SDK. Here's the method in the .NET SDK to upload a new file version. There shouldn't be any restrictions for a developer account to use the file version endpoint. 

    0
    Actions pour les commentaires Permalien
  • rbratton

    Aha!  I now see where I was going wrong.  I was building another BoxFileRequest and only FilesManager.UploadAsync needed that.  The FilesManager.UploadNewerVersionAsync just needs the file name, file ID, and the file contents as a stream (as a minimum), but no request.

     

    Thanks much!

    0
    Actions pour les commentaires Permalien

Vous devez vous connecter pour laisser un commentaire.