Loading app/src/main/java/foundation/e/drive/operations/CreateInitialFolderRemoteOperation.java +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ public class CreateInitialFolderRemoteOperation extends RemoteOperation { //Perfom request CreateFolderRemoteOperation createFolderOperation = new CreateFolderRemoteOperation(mRemotePath, mCreateFullPath); RemoteOperationResult createOperationResult = createFolderOperation.execute(client, true); RemoteOperationResult createOperationResult = createFolderOperation.execute(client); if(createOperationResult.isSuccess() || createOperationResult.getCode() == RemoteOperationResult.ResultCode.FOLDER_ALREADY_EXISTS ){ if(DbHelper.insertSyncedFolder(mSyncedFolder, mContext) >= 0 ) { Loading app/src/main/java/foundation/e/drive/operations/DownloadFileRemoteOperation.java +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class DownloadFileRemoteOperation extends RemoteOperation { private int downloadFile(OwnCloudClient client, File targetFile) throws IOException, OperationCancelledException { int status = -1; boolean savedFile = false; mGet = new GetMethod(client.getWebdavUri() + WebdavUtils.encodePath(mRemotePath)); mGet = new GetMethod(client.getDavUri() + WebdavUtils.encodePath(mRemotePath)); FileOutputStream fos = null; try { Loading Loading
app/src/main/java/foundation/e/drive/operations/CreateInitialFolderRemoteOperation.java +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ public class CreateInitialFolderRemoteOperation extends RemoteOperation { //Perfom request CreateFolderRemoteOperation createFolderOperation = new CreateFolderRemoteOperation(mRemotePath, mCreateFullPath); RemoteOperationResult createOperationResult = createFolderOperation.execute(client, true); RemoteOperationResult createOperationResult = createFolderOperation.execute(client); if(createOperationResult.isSuccess() || createOperationResult.getCode() == RemoteOperationResult.ResultCode.FOLDER_ALREADY_EXISTS ){ if(DbHelper.insertSyncedFolder(mSyncedFolder, mContext) >= 0 ) { Loading
app/src/main/java/foundation/e/drive/operations/DownloadFileRemoteOperation.java +1 −1 Original line number Diff line number Diff line Loading @@ -92,7 +92,7 @@ class DownloadFileRemoteOperation extends RemoteOperation { private int downloadFile(OwnCloudClient client, File targetFile) throws IOException, OperationCancelledException { int status = -1; boolean savedFile = false; mGet = new GetMethod(client.getWebdavUri() + WebdavUtils.encodePath(mRemotePath)); mGet = new GetMethod(client.getDavUri() + WebdavUtils.encodePath(mRemotePath)); FileOutputStream fos = null; try { Loading