marinofaggiana 4 years ago
parent
commit
da47e995f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      iOSClient/AppDelegate.m

+ 1 - 1
iOSClient/AppDelegate.m

@@ -1123,7 +1123,7 @@
 
                         if ([path containsString:@"/"]) {
 
-                            fileName = [[path stringByDeletingLastPathComponent] lastPathComponent];
+                            fileName = [path lastPathComponent];
                             serverUrl = [CCUtility deletingLastPathComponentFromServerUrl:[NSString stringWithFormat:@"%@/%@/%@", matchedAccount.urlBase, webDAV, [path stringByDeletingLastPathComponent]]];
                             
                         } else {