nextcloud / files-clients

1 stars 0 forks source link

Use creation time #68

Open tobiasKaminsky opened 4 years ago

tobiasKaminsky commented 4 years ago

PR: https://github.com/nextcloud/server/pull/17765

Use header 'HTTP_X_OC_CTIME' with unix timeto store creation time of file.

marinofaggiana commented 4 years ago

@tobiasKaminsky I think that the header is X-OC-Mtime

tobiasKaminsky commented 4 years ago

M for modification time (this is already supported and used) C for creation time (this is new)

https://github.com/nextcloud/server/pull/17765/files#diff-be504dc886734275f06114e4306fa215R298

marinofaggiana commented 4 years ago

implemented : X-OC-CTime and X-OC-MTime

marinofaggiana commented 4 years ago

@tobiasKaminsky do you have implemented the X-OC-CTime ?

tobiasKaminsky commented 4 years ago

Not yet.

skjnldsv commented 1 year ago

Status update?

tobiasKaminsky commented 1 year ago

Android has it: https://github.com/nextcloud/android-library/blob/7914ce161f664eee5d761462ec4874e76663d04b/library/src/main/java/com/owncloud/android/lib/resources/files/UploadFileRemoteOperation.java#L224