-
Notifications
You must be signed in to change notification settings - Fork 855
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
auto upload created and modified date get set to upload date/time #256
Comments
Hi @tzapu ... where is the issue ? I don't understand |
hi, |
hello, will this be considered or how it is now is how it will remain? cheers |
@marinofaggiana any chance you could chime in on this? sorry to keep pestering you about it, but at least to me it is something that stops me uploading all the family pics thank you very much for everything |
mmm .. @jancborchardt .. for you ? now the file name is detect from creationDate of record on Photo, this date derive from EXIF or iOS creation on your memory ... @mario Android ? as it does ? |
a couple of examples:
|
as we (preserve on FileName) |
sorry but this is not a iOS problem ... |
You can set last modified time however ... |
@marinofaggiana should i report this to main nextcloud repo then? thanks |
@tzapu was talking to @marinofaggiana :) |
guys, sorry to keep pushing this cheers |
#313 Related. |
The issue seems only half fixed. I have seen all images seem to have the correct date, but all mp4 files have the upload date. Client is 2.17.5 on iphone. |
i've just tried again with 2.17.6.00008 and modified/created are still set to current time/date |
Same issue here I've been using version 2.18.0 over a longer period (e.g. vacation) without internet access. Once the device was back to a location with Wifi all files were uploaded and named with the current date. Hence, all photos are now named incorrectly and completely out of order. Files uploaded should be named after the date taken. I don't see case were the upload date is of any relevance. |
@binarybucks the filename take the creationDate of Asset ... why is incorrectly ? |
@marinofaggiana can you tell me where uploads happen? I can fix this, at least for mtime and ctime preservation. |
ios/iOSClient/AutoUpload/NCAutoUpload.m Line 383 in afc87ce
|
@marinofaggiana I don't care much about this. What I'm asking is where is the PUT method for uploading the file itself? I need to set a header then the MTime will be preserved. Also, for filedate I'd use modifiedDate since creationDate isn't always reliable. |
hahah moment ! and this is the put for URLSession Upload ios/iOSClient/Networking/CCNetworking.m Line 1245 in afc87ce
|
@marinofaggiana fix could be here, please test :) |
The question is more, why are you changing the file name from iphone. Why not uploading as is? Date is inside meta data and the file date should also be correct. Renaming the file is not needed. |
@marinofaggiana you're right, they're indeed named correctly after the date they were taken. The gallery view in the app just sorted them wrong. |
ok @mario the Header works but remember : long dateFileCreation = [asset.creationDate timeIntervalSince1970]; witkout * 1000 Thanks |
Pleaaase merge this, I’m switching from Dropbox and this issue is a big no-go for me and I think other people too :( |
@LuckyLuke75 this issue is already fixed.... where you are problem ? |
hi, in what version, last i tested, some time ago using the beta version in october, it wasn't ... |
@marinofaggiana Any update ? |
2.19.1 (I think ... ) @LuckyLuke75 update ? |
I've checked 2.19.3 and the bug is still here, maybe it was reintroduced in 2.19.2 ? |
Android v 3.12.1 RC1 and this is happening with files in my Auto upload. Edit: Apologies just realised this is in IOS section. |
This bug is still present in v3.0.7 and it is pretty annoying. Are there any steps planned to fix this soon? I just uploaded 3000 images and the image order on the nextcloud web interface is completely messed up. |
Hi, I'm using Nextcloud Liquid for iOS 4.0.6.0 @ 2021 and Nextcloud Server 22.1.1 and I have the same. |
Cannot confirm this. |
while manual upload seems to preserve created and modified
for me at least it would feel natural to have auto upload preserve dates as well
cheers
The text was updated successfully, but these errors were encountered: