index.js
function downloadTorrentFile(url, cookie, callback) {
        post({
            method: 'web.download_torrent_from_url',
            params: [url,cookie]
        }, callback);
    }
function downloadTorrentFile(url, cookie, callback) {
        post({
            method: 'web.download_torrent_from_url',
            params: [url,cookie]
        }, callback);
    }
function downloadTorrentFile ( url , cookie , callback ) { post ( { method : 'web.download_torrent_from_url' , params : [ url , cookie ] } , callback ) ; }
Download a torrent file from an url
@param url
@param callback containing the error and the path where the torrent file have been downloaded
Download a torrent file from an url