<string name="unshare_link_forbidden_permissions">to unshare this file</string>
<string name="forbidden_permissions_create">to create the file</string>
<string name="uploader_upload_forbidden_permissions">to upload in this folder</string>
+ <string name="downloader_download_file_not_found">The file is no longer available on the server</string>
</resources>
new File(((DownloadFileOperation) operation).getSavePath()).getName());
} else {
- message = String.format(res.getString(R.string.downloader_download_failed_content),
- new File(((DownloadFileOperation) operation).getSavePath()).getName());
+ if (result.getCode() == ResultCode.FILE_NOT_FOUND) {
+ message = res.getString(R.string.downloader_download_file_not_found);
+
+ } else {
+ message = String.format(res.getString(R.string.downloader_download_failed_content), new File(
+ ((DownloadFileOperation) operation).getSavePath()).getName());
+ }
}
} else if (operation instanceof RemoveFileOperation) {