Stream-download a file
POST/plugin-api/file-manager/downloadFileStream
Downloads a file as a binary stream. Uses SCP legacy mode (cat over exec) when the host has scpLegacy enabled, otherwise uses SFTP. Over SFTP an open ended Range header (bytes=N-) resumes from byte N with a 206; SCP legacy mode always sends the whole file.
Request
Responses
- 200
- 206
- 400
- 416
- 500
Binary file stream.
The rest of the file from the requested Range start.
Missing required parameters.
The Range start is past the end of the file.
Download failed.