Skip to content

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

@bobregon

Description

@bobregon

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.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions