If too large a file is given to BoxUploader.upload it will still try to upload it but will eventually fail when the file size limit is reached. The file size should be checked beforehand so we don't bother trying for a file that would fail and can give a more informative error.
The maximum should be available via the API via the max_upload_size attribute of the current user information.
If too large a file is given to
BoxUploader.upload
it will still try to upload it but will eventually fail when the file size limit is reached. The file size should be checked beforehand so we don't bother trying for a file that would fail and can give a more informative error.The maximum should be available via the API via the
max_upload_size
attribute of the current user information.