Upload Video (.mov) file error:File not present,please reload.
Hello,
I am trying to upload a .mov file with size of 87Mb and 10Mb with the stable version 2.18.0.00017 and I have the following problem:
Error: File not present,please reload.
After that the .mov file will be uploaded but with 0.00 bytes. I tried with both iOS 10.3 and iOS 11.1 on Nextcloud 12 Server.

Hi @togglecode it's a mov from camera iPhone (video) or ... ?
Hello @marinofaggiana yes from Camera. Even if I take a video with iPhone 5 (48 sec, 96mb) and try to upload (or use autoupload for video) only a file with 0 bytes will be uploaded.
I have tested with a old iPhone 5 video 107 MB 01:14, no issue.
ok so here is the deal,
A colleague of mine has also the same issue, but he has an iPhone 6, he says if he change the fps of the video to 1080p 60fps or 4k he cannot upload the video.
I wanted to show you some logs, so I had to swtich to the development branch because of swift 4.0.2 Releam update.
there I also get the same issue (the logs aren't that helpful), however I get a different error message.

I sent you the video I am trying to upload with a link to ios [at] nextcloud [dot] com with the subject "Video I am trying to upload". I was never able to upload this file (Store App or Development branch) both had errors.
Hi,
I have the same problem with random videos that I recorded with my iPhone 7 sometimes gets 0 kb in size. This is my log output | 2017-11-07, 13:06:34 | Failure | Upload 2017-11-07 12-46-15-5584.mov | Error: File not present, please reload. Selector: uploadAutoUpload | | 2017-11-07, 13:06:04 | Failure | Upload 2017-11-07 12-46-15-5584.mov | Video export failed [Error Domain=AVFoundationErrorDomain Code=-11847 "Operation Interrupted" UserInfo={NSLocalizedRecoverySuggestion=Stop other operations and try again., NSLocalizedDescription=Opera |
@togglecode: how did you do that movie of your screen? Some app on the phone?
On iOS 11 you can use screen recording and then convert them to gifs (careful about the size) On older iOS version you need to use use QuickTime
@marinofaggiana as of the newest Nextcloud iOS update:
After I try to upload the video which I sent you per email, user will get "Video export failed" for multiple times. After that it is not possible to upload any other video and the user keeps getting the error over and over again because of the dispatch_async implemented.
Clearing cache or removing the account is also not helping, the only way is to deinstall and re-install the App.
@togglecode dispatch_async removed wit new version 2.18.2 available now (arghhhh was a misprint) ... have you a issue of crash ?
@marinofaggiana is this release in AppStore or TestFlight?
No crash, I just get the Video export failed error over and over again from this line, until "too many error, file deleted". After that I cannot upload any videos anymore :sweat_smile:
https://github.com/nextcloud/ios/blob/cdc49cefdcbd072c9942c5fd4e8f62c2303c2e94/iOSClient/Networking/CCNetworking.m#L843-L850
I am talking about Appstore Version 2.18.2.000001
@togglecode very strange ... this line of code it's for video lenght = 0 this routine of export has a issue but now I don't have time for review
@marinofaggiana ok :+1:, I just hope you can re-produce the testcase with the file I sent you. Let me know if you need more information about something.
@togglecode @spridarn try with last beta TestFlight
@marinofaggiana works with build (6), I mean all those files which I had issues can get uploaded now, should I close the issue?
Yes thanks