add torrent upload api