You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Andrea Cosentino (Jira)" <ji...@apache.org> on 2019/09/26 08:18:00 UTC
[jira] [Assigned] (CAMEL-14007) Expose BoxFolder.canUpload to let
user check if a file can be uploaded
[ https://issues.apache.org/jira/browse/CAMEL-14007?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrea Cosentino reassigned CAMEL-14007:
----------------------------------------
Assignee: Andrea Cosentino
> Expose BoxFolder.canUpload to let user check if a file can be uploaded
> ----------------------------------------------------------------------
>
> Key: CAMEL-14007
> URL: https://issues.apache.org/jira/browse/CAMEL-14007
> Project: Camel
> Issue Type: New Feature
> Components: camel-box
> Reporter: Claudio Martella
> Assignee: Andrea Cosentino
> Priority: Major
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)