Box supports external integration through an HTTP-based REST API.

Restriction:
-REST API does not support resume on upload
-No mdtm(File modification time) changes.
-REST API does not support streaming on upload. At Large file (greater then 25 MB) upload: CrushFTP stores the uploaded file temporary at CrushFTP install folder/box/<<box username>>


Create new custom app at https://app.box.com/developers/console.
attachments

CrushFTP use JWT Authentication method (https://developer.box.com/guides/authentication/jwt/), and not OAuth2. Select JWT based authentication.

attachments

Check the "Make API calls using the as-user header" checkbox at Configuration -> Advanced Features

attachments

Generate the RSA keypair for JWT at Configuration -> Add and Manage Public Keys

attachments

Save your app changes and dwonload JSON file from Configuration -> App Settings
The JSON file should contains:
{
  "boxAppSettings": {
    "clientID": "ogXXXXXXXXXXXXXXXX",
    "clientSecret": "laAXXXXXXXXXXXX",
    "appAuth": {
      "publicKeyID": "cgXXXXXXXXX",
      "privateKey": "-----BEGIN ENCRYPTED PRIVATE KEY-----\nXXXXXXXXXXXXXXXXXXXXXnblc=\n-----END ENCRYPTED PRIVATE KEY-----\n",
      "passphrase": "aXXXXXXXXXXXXXXXXXXXXe"
    }
  },
  "enterpriseID": "2XXXXXXXXX5"
}

On CrushFTP provide the box login username as username and the path of JSON config file.
attachments

Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
png
box_as_user_header.png 38.3 kB 1 20-Jan-2021 14:13 krivacsz
png
box_create_custom_app.png 174.2 kB 1 20-Jan-2021 14:03 krivacsz
png
box_jwt_auth.png 89.2 kB 1 20-Jan-2021 14:06 krivacsz
png
box_rsa_keypair.png 56.3 kB 1 20-Jan-2021 14:19 krivacsz
png
box_vfs_settings.png 106.8 kB 1 20-Jan-2021 14:33 krivacsz
« This page (revision-37) was last changed on 20-Jan-2021 14:50 by krivacsz
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki v2.8.2