[Junior Job] Use composite job for multiple file transfers
Closed, ResolvedPublic

Description

https://bugs.kde.org/show_bug.cgi?id=390876

When multiple files from the phone are received a FileTransferJob for each is started. These jobs should be batched together into a KCompositejob.

Relevant modules: SharePlugin on Desktop and Android, FileTransferJob class from core
Requires research about Jobs in KDE Frameworks/KIO

Possible approach:
Each file is transferred in its own NetworkPacket, because there is only room for one payload per packet. One could either

  • allow more than one payload per NetworkPacket, would require changes to NetworkPacket on both sides without breaking existing code
  • add some information to the NetworkPacket to indicate which Filetransfers should be batched together
nicolasfella renamed this task from Use composite job for multiple file transfers to [Junior Job] Use composite job for multiple file transfers.May 10 2018, 4:13 PM
nicolasfella moved this task from Ideas to Junior Jobs on the KDE Connect board.May 10 2018, 4:16 PM
nicolasfella updated the task description. (Show Details)May 15 2018, 6:12 PM
gauravpant removed a subscriber: gauravpant.
gauravpant added a subscriber: gauravpant.
nicolasfella closed this task as Resolved.Dec 19 2019, 4:38 PM