diff options
author | Louis Chemineau <louis@chmn.me> | 2022-01-11 10:56:49 +0100 |
---|---|---|
committer | Louis Chemineau <louis@chmn.me> | 2022-01-11 17:10:14 +0100 |
commit | 69b8044b8f957c5a74396025608dd513c8f7ff7d (patch) | |
tree | a39db9e1f9753f59b6d7b7e3256ec655d8a93ee2 /apps/dav/tests | |
parent | b23934a45ec584e398835635584461a02c9b1dde (diff) | |
download | nextcloud-server-69b8044b8f957c5a74396025608dd513c8f7ff7d.tar.gz nextcloud-server-69b8044b8f957c5a74396025608dd513c8f7ff7d.zip |
Set the file's mtime from the headers in bulk upload
Signed-off-by: Louis Chemineau <louis@chmn.me>
Diffstat (limited to 'apps/dav/tests')
-rwxr-xr-x | apps/dav/tests/benchmarks/bulk_upload.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dav/tests/benchmarks/bulk_upload.sh b/apps/dav/tests/benchmarks/bulk_upload.sh index 862ddfe461f..e2099188654 100755 --- a/apps/dav/tests/benchmarks/bulk_upload.sh +++ b/apps/dav/tests/benchmarks/bulk_upload.sh @@ -37,7 +37,7 @@ do echo -en "--$BOUNDARY\r\n" # echo -en "Content-ID: $file_name\r\n" echo -en "X-File-Path: $file_remote_path\r\n" - echo -en "X-File-Mtime: $file_mtime\r\n" + echo -en "X-OC-Mtime: $file_mtime\r\n" # echo -en "X-File-Id: $file_id\r\n" echo -en "X-File-Md5: $file_hash\r\n" echo -en "Content-Length: $file_size\r\n" |