vscode-ev3dev-browser icon indicating copy to clipboard operation
vscode-ev3dev-browser copied to clipboard

Allow canceling download of large files

Open dlech opened this issue 8 years ago • 1 comments

Spin off of #37.

We can currently cancel downloading many files by finishing the download of the current file and skipping the rest. However, it would be nice to be able to cancel the download of a large file in the middle of the download as well.

This will require changing the implementation of the Device.put function to be cancelable instead of relying on the ssh2 module fastPut. It will probably also require that we save the remote file with a different name and then rename/replace the file with the correct name so that we don't end up with half of a file on the remote device.

dlech avatar Oct 18 '17 21:10 dlech

This should also be done for uploading files.

dlech avatar Nov 07 '17 01:11 dlech