Welcome to the new Box Support website. Check out all the details here on what’s changed.

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.