Make file versioning the default behavior for Box CLI "box files:upload" command

Open
#575 1 comment 0 reactions 5 assignees View on GitHub

@mwwoda is already working on this.

Since May 2, 2025.

Assessment

This issue has not been assessed yet.

Description

enhancement

if file versioning is the default behavior when uploading files in the URL Box web page; Why isn't that exactly the same behavior when uploading files thru the "box files:upload /path-to-file/filename.ext --parent-id FolderID" box CLI command?

The logic is straight forward:

  1. If the file does not exist in the box folder, then create the file

  2. If the file DOES exist in the box folder, then instead of displaying that horrible warning message "409 Conflict, the file already exists", please update the content of the file and increase the FILE version number.

Dominant language
JavaScript
Stars
285
Forks
67
Avg merge
5h 27m
Merged PRs (30d)
5

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from box/boxcli

All issues in box/boxcli

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.