marinofaggiana 4 vuotta sitten
vanhempi
commit
dd32dae631
1 muutettua tiedostoa jossa 1 lisäystä ja 6 poistoa
  1. 1 6
      iOSClient/Main/CCMain.m

+ 1 - 6
iOSClient/Main/CCMain.m

@@ -1055,12 +1055,7 @@
             metadataMOVForUpload.status = k_metadataStatusWaitUpload;
             
             // Prepare file and directory
-            [CCUtility moveFileAtPath:url.path toPath:[CCUtility getDirectoryProviderStorageOcId:metadataMOVForUpload.ocId fileNameView:fileName]];
-            
-            //
-            if ([CCUtility fileProviderStorageExists:metadataMOVForUpload.ocId fileNameView:metadataMOVForUpload.fileNameView] == false) {
-                NSLog(@"qualcosa nn va");
-            }
+            [CCUtility copyFileAtPath:url.path toPath:[CCUtility getDirectoryProviderStorageOcId:metadataMOVForUpload.ocId fileNameView:fileName]];
             
             [metadatasMOV addObject:metadataMOVForUpload];
         }