Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-14007

Expose BoxFolder.canUpload to let user check if a file can be uploaded

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0.RC2, 3.0.0
    • camel-box
    • None
    • Unknown

    Description

      The upload doesn't support to upload a file with an already existing file name, there is no overwrite parameter.If the user uploads a file and the name already exists, it throws an error.

      If there is a file with a given name, it should upload a new version of the given file uploadNewFileVersion and pass the fileId  parameter.

      There is a BoxFolder.canUpload method that check a file can be uploaded, this way the user can get a feedback and then call upload or uploadNewFileVersion.

      https://developer.box.com/reference#preflight-check

      Attachments

        Issue Links

          Activity

            People

              acosentino Andrea Cosentino
              claudio4j Claudio Miranda
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m