Fixed invalid error handling within the file transfer browser
This commit is contained in:
parent
fbb8afcc9e
commit
7c63f10b2c
1 changed files with 2 additions and 1 deletions
|
@ -458,7 +458,8 @@ export class FileManager {
|
|||
});
|
||||
infos[0]["return_code"] = returnCode;
|
||||
|
||||
return this.connectionHandler.serverConnection.send_command("ftgetfileinfo", infos, { flagset: ["as-list"] }).then(cmdResult => {
|
||||
return this.connectionHandler.serverConnection.send_command("ftgetfileinfo", infos, { flagset: ["as-list"], process_result: false })
|
||||
.catch(error => Promise.resolve(error)).then(cmdResult => {
|
||||
const bulks = cmdResult.getBulks();
|
||||
if(bulks.length != files.length) {
|
||||
return Promise.reject(tr("response bulk miss match"));
|
||||
|
|
Loading…
Add table
Reference in a new issue