You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
StringfileManagerCannotOverwriteError = "Cannot overwrite remote file. The remote file system already has a file of this name, and the file manager is set to not automatically overwrite files.";
74
+
73
75
74
76
/**
75
77
* Constructor for BaseFileManager
@@ -405,46 +407,29 @@ private void uploadFilePrivate(@NonNull final SdlFile file, final FileManagerCom
405
407
return;
406
408
}
407
409
408
-
// HAX: [#827](https://github.com/smartdevicelink/sdl_ios/issues/827) Older versions of Core
409
-
// had a bug where list files would cache incorrectly. This led to attempted uploads failing
410
-
// due to the system thinking they were already there when they were not. This is only needed
411
-
// if connecting to Core v4.3.1 or less which corresponds to RPC v4.3.1 or less
// Check our overwrite settings and error out if it would overwrite
418
-
if (!file.getOverwrite() && mutableRemoteFileNames.contains(file.getName())) {
419
-
StringerrorMessage = "Cannot overwrite remote file. The remote file system already has a file of this name, and the file manager is set to not automatically overwrite files.";
0 commit comments