filetransfer: correct pause/resume behaviour