Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

select which files to download #39

Open
hosseinalipour opened this issue Mar 24, 2015 · 1 comment
Open

select which files to download #39

hosseinalipour opened this issue Mar 24, 2015 · 1 comment

Comments

@hosseinalipour
Copy link

Is there something that we can choose which files needed to be downloaded in a torrent?
if not,why? ,I extremely need this feature

@kristoftorfs
Copy link

You can make any API call in the spec manually by using the Client class directly.

$transmission = new Transmission\Transmission();
// Make the call manually
$response = $transmission->getClient->call('torrent-add', array(
    'filename' => $filename,
    'files-unwanted' => array(0, 1, 3)
));
// Load the torrent object
$torrent = $transmission->add($filename);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants