When I upload a photo file from my iPhone, the file name changes. Normally, the image file name would be “img_0001.jpg”, but when I upload it to NC, it uploads with a file name like “0EF5FD5C-5988-4553-A054-B1822CF35B60.jpeg”. This happens on iOS devices, but not on Android devices.
If I use the NC app instead of web browsers, it seems to keep the original file name by setting it in the options. When a user uploads a file using any web browsers instead of using the NC app, is there any way to keep the original file name and complete the upload?
First of all what you describe should not happen with any client or browser on any device. However, until you tell us exactly how these files were uploaded, we can’t give you a definitive answer as to what is causing the issue.
I assume that the files were renamed during the upload. You can check this easily by logging into Nextcloud on a PC. If the files then also show these cryptic names, they were stored on the Nextcloud like this when they were uploaded. This would mean that the browser or the app with which the files were uploaded caused this error.
Is it possible that you are using an app that does encrypt the files before they get uploaded? Then this behavior would be normal…
How did I upload the files?
I uploaded the files according to the web UI as normal. I didn’t do anything unusual at all. At this time, no error is output to the NC log. I do not currently have encryption.
The best option to work arround this would probably be to use the official Nextcloud iOS app. If that for some reason is not an option, you could maybe connect your device directly via WebDAV to the server (alltough i’m not sure if iOS allows that or offers such an option…) or maybe you could use some 3rd party app that supports WebDAV…
No you’re not. OP was specifically talking about uploads via browser, and there is probably not much the Nextcloud devs could do, becacuse it seems that’s just how iOS handles file uploads via it’s browser engine. In the Nextcloud app however, there is a toggle in the “Auto Upload” section called “Keep original file name”, which should do the trick.