File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 24732473 'filesystem_check_changes ' => 0 ,
24742474
24752475 /**
2476- * Store part files created during upload in the same storage as the upload
2477- * target. Setting this to false stores part files in the root of the user's
2478- * folder, which may be necessary for external storage with limited rename
2479- * capabilities.
2476+ * Control where temporary ".part" files are written during direct (non-chunked)
2477+ * uploads.
24802478 *
2481- * Defaults to ``true``
2479+ * While an upload is in progress, Nextcloud writes data to a temporary ".part"
2480+ * file and renames it to the final filename when the upload completes.
2481+ *
2482+ * - true: create the temporary ".part" file in the destination storage/path.
2483+ * This typically avoids cross-storage moves and can improve reliability and
2484+ * performance on backends where rename within the same storage is cheap/atomic.
2485+ * - false: create the temporary ".part" file in the user's root folder first.
2486+ * This may help with some external storages that have limited rename/move
2487+ * behavior, but can add extra copy/move overhead.
2488+ *
2489+ * Note: This setting applies to direct (non-chunked) uploads only. Chunked/
2490+ * resumable uploads use a separate uploads staging mechanism and are not
2491+ * controlled by this option.
2492+ *
2493+ * Defaults to ``true``.
24822494 */
24832495 'part_file_in_storage ' => true ,
24842496
You can’t perform that action at this time.
0 commit comments