patrykcoding / rcloneExplorer

rclone explorer for Android
MIT License
346 stars 51 forks source link

Feature Request: Pause Transfers #234

Open Cyber5imon opened 5 years ago

Cyber5imon commented 5 years ago

Can you add the ability to pause the current transfer? Adding a pause option next to cancel in the notification would work the best imho.

Often I find the need to pause long transfers especially when it's eating up all my bandwidth.

Currently the only option is to cancel the transfer (hope there isn't another transfer queued) and restart it when I'm ready to resume the transfer.

Maybe suspending the process would work? If the transfer itself has its own pid. Anyway, I hope this is fairly easy to implement. Thanks in advance!

x0b commented 5 years ago

This functionality is dependent on upstream rclone, which does not expose an interface for pausing/resuming transfers. There is already some discussion in https://github.com/ncw/rclone/issues/87, but nothing substantial so far.

Suspending the process might work for some remotes, but maybe not at all on Android. I'll try to test it later in Termux.

EDIT: It turns out that this actually works without corrupting the uploaded file