Revision 82f60c57
b/docs/source/webclient.rst | ||
---|---|---|
221 | 221 |
|
222 | 222 |
to create a folder with the new name, followed by recursive copy operations (see below about copy/move/paste) to move all folder 's children under the new one. Finally, a folder deletion is done as described earlier. |
223 | 223 |
|
224 |
File Cut/Copy/Paste |
|
225 |
""""""""""""""""""" |
|
226 |
Cut/Copy operations on folders just put the objects in an internal clipboard. The Paste command does the actual job of copying/moving. |
|
227 |
|
|
228 |
Folder copy is done by creating a folder at the new location with a PUT and then recursively copy all subfolders and files. |
|
229 |
Folder move is done the same way followed by a deletion of the initial folder. It is obvious that a copy/move of a big subtree will result in a great number of API requests. |
|
230 |
|
|
224 | 231 |
File Operations |
225 | 232 |
^^^^^^^^^^^^^^^ |
226 | 233 |
File uploading |
... | ... | |
241 | 248 |
|
242 | 249 |
DELETE /v1/username/container/path/to/file |
243 | 250 |
|
251 |
File Cut/Copy/Paste |
|
252 |
""""""""""""""""""" |
|
253 |
Cut/Copy operations on files just put the objects in an internal clipboard. The Paste command does the actual job of copying/moving. |
|
254 |
|
|
255 |
In case of copy, a sequence (if multiple files are copied) of PUT commands is issued to the new path, with X-Copy-From header |
|
256 |
In case of cut, the same PUT commands have X-Move-From header set. |
|
257 |
|
|
244 | 258 |
File/Folder sharing |
245 | 259 |
^^^^^^^^^^^^^^^^^^^ |
246 | 260 |
Sharing of file and folders with other users is done by setting permissions for other users or groups of users. The FolderPermissionsDialog/FilePermissionsDialog classes display the corresponding UI and perform the API calls. Permissions are set with |
Also available in: Unified diff