Commit aafa83aa authored by narinder Rana's avatar narinder Rana
Browse files

manage missing function

parent fae7dcec
Pipeline #146263 passed with stages
in 5 minutes and 26 seconds
......@@ -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 ) {
......
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment