/**
* @return FinishResult|ValidResult
*/
public function downloadRange(RangeDownloadRequest
$request) { // Load SwagUpdate so the DownloadStep can be auto-loaded
Shopware()->
Plugins()->
Backend()->
SwagUpdate();
$version =
new Version([ 'uri' =>
$request->
getUri(),
'size' =>
$request->
getSize(),
'sha1' =>
$request->
getSha1(),
]);
return (new DownloadStep($version,
$request->
getDestination()))->
run($request->
getOffset());
} /**
* @param string $file
* @param string $pluginName
*
* @throws Exception
*/