Transmission: the temporary file is now created to the system temporary directory

This commit is contained in:
Simon Vieille 2016-08-29 01:11:55 +02:00
parent 57d62e0faa
commit fe76dbc4bb

View file

@ -38,7 +38,11 @@ Usage: <comment>%command.name%</comment> <info>TORRENT_ID</info>");
$config = $configLoader->getConfig()['transmission'];
$outputFile = sprintf('.%d', time());
$outputFile = sprintf(
'%s/t411-console-%d',
sys_get_temp_dir(),
time()
);
$inputData = array(
'command' => 'torrents:download',