Query on uploading new file version using Box Node SDK function

New post


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.

    Comment actions Permalink

Please sign in to leave a comment.