diff --git a/res/values/strings.xml b/res/values/strings.xml
index 1266ce690f..38d7acde6a 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -124,6 +124,7 @@
Connection error
Upload will be retried shortly
Credentials error
+ Folder error
Downloading …
%1$d%% Downloading %2$s
Download succeeded
diff --git a/src/com/owncloud/android/db/UploadResult.java b/src/com/owncloud/android/db/UploadResult.java
index 90af7dad95..d5c6d8cfde 100644
--- a/src/com/owncloud/android/db/UploadResult.java
+++ b/src/com/owncloud/android/db/UploadResult.java
@@ -80,12 +80,12 @@ public enum UploadResult {
case ACCOUNT_EXCEPTION:
case UNAUTHORIZED:
return CREDENTIAL_ERROR;
-// case
-// return FOLDER_ERROR;
+ case FILE_NOT_FOUND:
+ return FOLDER_ERROR;
case CONFLICT:
return CONFLICT_ERROR;
- case FILE_NOT_FOUND:
- return FILE_ERROR;
+// case FILE_NOT_FOUND:
+// return FILE_ERROR;
// case UNAUTHORIZED:
// return PRIVILEDGES_ERROR;
case CANCELLED:
diff --git a/src/com/owncloud/android/ui/adapter/ExpandableUploadListAdapter.java b/src/com/owncloud/android/ui/adapter/ExpandableUploadListAdapter.java
index c9ea116e31..432d14a37b 100755
--- a/src/com/owncloud/android/ui/adapter/ExpandableUploadListAdapter.java
+++ b/src/com/owncloud/android/ui/adapter/ExpandableUploadListAdapter.java
@@ -229,6 +229,9 @@ public class ExpandableUploadListAdapter extends BaseExpandableListAdapter imple
mParentActivity.startActivity(updateAccountCredentials);
}
});
+ } else if (upload.getLastResult() == UploadResult.FOLDER_ERROR) {
+ status = mParentActivity.getString(
+ R.string.uploads_view_upload_status_failed_folder_error);
} else {
status = "Upload failed: " + upload.getLastResult().toString();
}