github.com/rclone/rclone@v1.66.1-0.20240517100346-7b89735ae726/docs/content/quatrix.md (about) 1 --- 2 title: "Quatrix" 3 description: "Rclone docs for Quatrix" 4 versionIntroduced: "v1.63.2" 5 --- 6 7 # {{< icon "fas fa-shield-alt" >}} Quatrix 8 9 Quatrix by Maytech is [Quatrix Secure Compliant File Sharing | Maytech](https://www.maytech.net/products/quatrix-business). 10 11 Paths are specified as `remote:path` 12 13 Paths may be as deep as required, e.g., `remote:directory/subdirectory`. 14 15 The initial setup for Quatrix involves getting an API Key from Quatrix. You can get the API key in the user's profile at `https://<account>/profile/api-keys` 16 or with the help of the API - https://docs.maytech.net/quatrix/quatrix-api/api-explorer#/API-Key/post_api_key_create. 17 18 See complete Swagger documentation for Quatrix - https://docs.maytech.net/quatrix/quatrix-api/api-explorer 19 20 ## Configuration 21 22 Here is an example of how to make a remote called `remote`. First run: 23 24 rclone config 25 26 This will guide you through an interactive setup process: 27 28 ``` 29 No remotes found, make a new one? 30 n) New remote 31 s) Set configuration password 32 q) Quit config 33 n/s/q> n 34 name> remote 35 Type of storage to configure. 36 Choose a number from below, or type in your own value 37 [snip] 38 XX / Quatrix by Maytech 39 \ "quatrix" 40 [snip] 41 Storage> quatrix 42 API key for accessing Quatrix account. 43 api_key> your_api_key 44 Host name of Quatrix account. 45 host> example.quatrix.it 46 47 -------------------- 48 [remote] 49 api_key = your_api_key 50 host = example.quatrix.it 51 -------------------- 52 y) Yes this is OK 53 e) Edit this remote 54 d) Delete this remote 55 y/e/d> y 56 ``` 57 58 Once configured you can then use `rclone` like this, 59 60 List directories in top level of your Quatrix 61 62 rclone lsd remote: 63 64 List all the files in your Quatrix 65 66 rclone ls remote: 67 68 To copy a local directory to an Quatrix directory called backup 69 70 rclone copy /home/source remote:backup 71 72 ### API key validity 73 74 API Key is created with no expiration date. It will be valid until you delete or deactivate it in your account. 75 After disabling, the API Key can be enabled back. If the API Key was deleted and a new key was created, you can 76 update it in rclone config. The same happens if the hostname was changed. 77 78 ``` 79 $ rclone config 80 Current remotes: 81 82 Name Type 83 ==== ==== 84 remote quatrix 85 86 e) Edit existing remote 87 n) New remote 88 d) Delete remote 89 r) Rename remote 90 c) Copy remote 91 s) Set configuration password 92 q) Quit config 93 e/n/d/r/c/s/q> e 94 Choose a number from below, or type in an existing value 95 1 > remote 96 remote> remote 97 -------------------- 98 [remote] 99 type = quatrix 100 host = some_host.quatrix.it 101 api_key = your_api_key 102 -------------------- 103 Edit remote 104 Option api_key. 105 API key for accessing Quatrix account 106 Enter a string value. Press Enter for the default (your_api_key) 107 api_key> 108 Option host. 109 Host name of Quatrix account 110 Enter a string value. Press Enter for the default (some_host.quatrix.it). 111 112 -------------------- 113 [remote] 114 type = quatrix 115 host = some_host.quatrix.it 116 api_key = your_api_key 117 -------------------- 118 y) Yes this is OK 119 e) Edit this remote 120 d) Delete this remote 121 y/e/d> y 122 ``` 123 124 ### Modification times and hashes 125 126 Quatrix allows modification times to be set on objects accurate to 1 microsecond. 127 These will be used to detect whether objects need syncing or not. 128 129 Quatrix does not support hashes, so you cannot use the `--checksum` flag. 130 131 ### Restricted filename characters 132 133 File names in Quatrix are case sensitive and have limitations like the maximum length of a filename is 255, and the minimum length is 1. A file name cannot be equal to `.` or `..` nor contain `/` , `\` or non-printable ascii. 134 135 ### Transfers 136 137 For files above 50 MiB rclone will use a chunked transfer. Rclone will upload up to `--transfers` chunks at the same time (shared among all multipart uploads). 138 Chunks are buffered in memory, and the minimal chunk size is 10_000_000 bytes by default, and it can be changed in the advanced configuration, so increasing `--transfers` will increase the memory use. 139 The chunk size has a maximum size limit, which is set to 100_000_000 bytes by default and can be changed in the advanced configuration. 140 The size of the uploaded chunk will dynamically change depending on the upload speed. 141 The total memory use equals the number of transfers multiplied by the minimal chunk size. 142 In case there's free memory allocated for the upload (which equals the difference of `maximal_summary_chunk_size` and `minimal_chunk_size` * `transfers`), 143 the chunk size may increase in case of high upload speed. As well as it can decrease in case of upload speed problems. 144 If no free memory is available, all chunks will equal `minimal_chunk_size`. 145 146 ### Deleting files 147 148 Files you delete with rclone will end up in Trash and be stored there for 30 days. 149 Quatrix also provides an API to permanently delete files and an API to empty the Trash so that you can remove files permanently from your account. 150 151 {{< rem autogenerated options start" - DO NOT EDIT - instead edit fs.RegInfo in backend/quatrix/quatrix.go then run make backenddocs" >}} 152 ### Standard options 153 154 Here are the Standard options specific to quatrix (Quatrix by Maytech). 155 156 #### --quatrix-api-key 157 158 API key for accessing Quatrix account 159 160 Properties: 161 162 - Config: api_key 163 - Env Var: RCLONE_QUATRIX_API_KEY 164 - Type: string 165 - Required: true 166 167 #### --quatrix-host 168 169 Host name of Quatrix account 170 171 Properties: 172 173 - Config: host 174 - Env Var: RCLONE_QUATRIX_HOST 175 - Type: string 176 - Required: true 177 178 ### Advanced options 179 180 Here are the Advanced options specific to quatrix (Quatrix by Maytech). 181 182 #### --quatrix-encoding 183 184 The encoding for the backend. 185 186 See the [encoding section in the overview](/overview/#encoding) for more info. 187 188 Properties: 189 190 - Config: encoding 191 - Env Var: RCLONE_QUATRIX_ENCODING 192 - Type: Encoding 193 - Default: Slash,BackSlash,Del,Ctl,InvalidUtf8,Dot 194 195 #### --quatrix-effective-upload-time 196 197 Wanted upload time for one chunk 198 199 Properties: 200 201 - Config: effective_upload_time 202 - Env Var: RCLONE_QUATRIX_EFFECTIVE_UPLOAD_TIME 203 - Type: string 204 - Default: "4s" 205 206 #### --quatrix-minimal-chunk-size 207 208 The minimal size for one chunk 209 210 Properties: 211 212 - Config: minimal_chunk_size 213 - Env Var: RCLONE_QUATRIX_MINIMAL_CHUNK_SIZE 214 - Type: SizeSuffix 215 - Default: 9.537Mi 216 217 #### --quatrix-maximal-summary-chunk-size 218 219 The maximal summary for all chunks. It should not be less than 'transfers'*'minimal_chunk_size' 220 221 Properties: 222 223 - Config: maximal_summary_chunk_size 224 - Env Var: RCLONE_QUATRIX_MAXIMAL_SUMMARY_CHUNK_SIZE 225 - Type: SizeSuffix 226 - Default: 95.367Mi 227 228 #### --quatrix-hard-delete 229 230 Delete files permanently rather than putting them into the trash 231 232 Properties: 233 234 - Config: hard_delete 235 - Env Var: RCLONE_QUATRIX_HARD_DELETE 236 - Type: bool 237 - Default: false 238 239 #### --quatrix-skip-project-folders 240 241 Skip project folders in operations 242 243 Properties: 244 245 - Config: skip_project_folders 246 - Env Var: RCLONE_QUATRIX_SKIP_PROJECT_FOLDERS 247 - Type: bool 248 - Default: false 249 250 #### --quatrix-description 251 252 Description of the remote 253 254 Properties: 255 256 - Config: description 257 - Env Var: RCLONE_QUATRIX_DESCRIPTION 258 - Type: string 259 - Required: false 260 261 {{< rem autogenerated options stop >}} 262 263 ## Storage usage 264 265 The storage usage in Quatrix is restricted to the account during the purchase. You can restrict any user with a smaller storage limit. 266 The account limit is applied if the user has no custom storage limit. Once you've reached the limit, the upload of files will fail. 267 This can be fixed by freeing up the space or increasing the quota. 268 269 ## Server-side operations 270 271 Quatrix supports server-side operations (copy and move). In case of conflict, files are overwritten during server-side operation.