It would be wonderful if sftp was included in windows distributions natively
https://docs.microsoft.com/en-us/windows-server/administrati...
ssh user@windows-pc run long job
If you do this, and your connection is interrupted, `run long job` command will be terminated.This could be done with WSL, but WSL is too heavy for a task like that.