Transmission: the temporary file is now created to the system temporary directory
This commit is contained in:
parent
57d62e0faa
commit
fe76dbc4bb
|
@ -38,7 +38,11 @@ Usage: <comment>%command.name%</comment> <info>TORRENT_ID</info>");
|
||||||
|
|
||||||
$config = $configLoader->getConfig()['transmission'];
|
$config = $configLoader->getConfig()['transmission'];
|
||||||
|
|
||||||
$outputFile = sprintf('.%d', time());
|
$outputFile = sprintf(
|
||||||
|
'%s/t411-console-%d',
|
||||||
|
sys_get_temp_dir(),
|
||||||
|
time()
|
||||||
|
);
|
||||||
|
|
||||||
$inputData = array(
|
$inputData = array(
|
||||||
'command' => 'torrents:download',
|
'command' => 'torrents:download',
|
||||||
|
|
Loading…
Reference in a new issue