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

Query on uploading new file version using Box Node SDK function

Answered
New post

Comments

1 comment

  • jmoldow_box

    For uploading the initial file, you use

     

        uploadFile(parentFolderID, filename, content, callback)

     

    That callback is "called with data about the upload if successful, or an error if the upload failed".

     

    If the upload is successful, that data will look like the data in the example response given at https://docs.box.com/reference#upload-a-file . From there, you can retrieve the file id.

    0
    Comment actions Permalink

Please sign in to leave a comment.