diff --git a/src/js/client.js b/src/js/client.js index 715d13aef..5b057b349 100644 --- a/src/js/client.js +++ b/src/js/client.js @@ -2405,7 +2405,7 @@ angular.module('Application').service('Client', ['$http', '$interval', '$timeout // FileManager API Client.prototype.filesGet = function (appId, path, download, callback) { if (download) { - window.open(client.apiOrigin + '/api/v1/apps/' + appId + '/files/' + path + '?access_token=' + token); + window.open(client.apiOrigin + '/api/v1/apps/' + appId + '/files/' + path + '?download=true&access_token=' + token); } else { get('/api/v1/apps/' + appId + '/files/' + path, null, function (error, data, status) { if (error) return callback(error);