From 8651e897019c1f4fb9cecf3d27efbb503776898b Mon Sep 17 00:00:00 2001 From: Dani Palou Date: Fri, 23 Aug 2019 10:39:34 +0200 Subject: [PATCH] MOBILE-2670 core: Fix filename of uploaded files in desktop --- src/core/emulator/providers/file-transfer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/emulator/providers/file-transfer.ts b/src/core/emulator/providers/file-transfer.ts index cfef11512..f8ab362c9 100644 --- a/src/core/emulator/providers/file-transfer.ts +++ b/src/core/emulator/providers/file-transfer.ts @@ -380,7 +380,7 @@ export class FileTransferObjectMock extends FileTransferObject { for (const name in params) { fd.append(name, params[name]); } - fd.append('file', file); + fd.append('file', file, fileName); xhr.send(fd); }).catch(reject);