Skip to content

Commit

Permalink
Updated doc upload note with sword limit. #2169
Browse files Browse the repository at this point in the history
  • Loading branch information
raprasad committed May 14, 2015
1 parent 51ff578 commit f071c50
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/sphinx-guides/source/installation/installation-main.rst
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,12 @@ Set ``ShibEnabled`` to ``true`` to enable Shibboleth login.
MaxFileUploadSizeInBytes
------------------------------

Set `MaxFileUploadSizeInBytes` to "10737418240", for example, to limit the size of files uploaded to 10 GB.
Set `MaxFileUploadSizeInBytes` to "2147483648", for example, to limit the size of files uploaded to 2 GB.
Notes:
- For SWORD, this size is limited by the Java Integer.MAX_VALUE of 2,147,483,647. (see: https://github.com/IQSS/dataverse/issues/2169)
- If the MaxFileUploadSizeInBytes is NOT set, uploads, including SWORD may be of unlimited size.

``curl -X PUT -d 10737418240 http://localhost:8080/api/admin/settings/:MaxFileUploadSizeInBytes``
``curl -X PUT -d 2147483648 http://localhost:8080/api/admin/settings/:MaxFileUploadSizeInBytes``

GuidesBaseUrl
-------------
Expand Down

0 comments on commit f071c50

Please sign in to comment.