diff --git a/src/Model/Global/fileTransferModel.ts b/src/Model/Global/fileTransferModel.ts index 0b86ad06..8688efe5 100644 --- a/src/Model/Global/fileTransferModel.ts +++ b/src/Model/Global/fileTransferModel.ts @@ -104,7 +104,7 @@ export default class FileTransferModel { ): void => { for (const directoryPath of directoryPaths) { this.storageModel.recurse(directoryPath, (filePath: string[]) => { - this.sendFile(filePath); + this.prepareFileForSending(filePath); const pathString: string = StorageModel.pathComponentsToString( ...filePath, );