| | 94 | 7. To show the help message - including a detailed explanation and helpful examples - for the rclone copy subcommand... |
| | 95 | {{{ |
| | 96 | [tulaneID@cypress1 ~]$ rclone copy --help |
| | 97 | }}} |
| | 98 | 8. To list the available flags used with the rclone command... (See also [[Box#BoxTransferRateLimits|Box Transfer Rate Limits]] below.) |
| | 99 | {{{ |
| | 100 | [tulaneID@cypress1 ~]$ rclone help flags |
| | 101 | }}} |
| | 102 | |
| | 103 | ==== Box Transfer Rate Limits ==== |
| | 104 | |
| | 105 | Depending on the number of files contained in the <source> directory of your command {{{rclone copy <source> <destination>}}}, many of those files may fail to transfer with error '''429 Too Many Requests'''. To protect quality of service, Box accounts enforce the following transfer rate limits, though with 2 additional retries for each failed transfer request by default. (See [https://developer.box.com/guides/api-calls/permissions-and-errors/rate-limits Box Rate Limits].) |
| | 106 | |
| | 107 | 1. 1000 API requests per minute, per user (for Box API requests other than file uploads) |
| | 108 | 2. 240 file upload requests per minute, per user (for file uploads to Box specifically) |
| | 109 | |
| | 110 | To avoid exceeding the above mentioned rate limits, you can limit your HTTP transactions per second by including the rclone flag '''--tpslimit''' in your rclone command as in the following. (See '''--tpslimit''' and other flags for rclone using the command {{{rclone help flags}}} for details.) |
| | 111 | 1. '''Downloading files:''' To limit your rate (to 1000 requests per minute) of downloading files from a top level directory of your Tulane Box account to your current Cypress working directory... |
| | 112 | {{{ |
| | 113 | [tulaneID@cypress1 ~]$ rclone copy TU-Box:<top-level-directory> . --tpslimit 16.6 # 1000 per minute or 16.6 per second |
| | 114 | }}} |
| | 115 | 1. '''Uploading files:''' To limit your rate (to 240 requests per minute) of uploading files to a top level directory of your Tulane Box account from your desired Cypress directory... |
| | 116 | {{{ |
| | 117 | [tulaneID@cypress1 ~]$ rclone copy TU-Box:<top-level-directory> <Cypress-directory> --tpslimit 16.6 # 1000 per minute or 16.6 per second |
| | 118 | }}} |