kicsyromy Posted July 2, 2011 Report Posted July 2, 2011 I'm sending the following to the utorrent server:POST /gui/?action=add-file&token=esCti-42JSbWZQVbYm_YaGbeAPgyfF0z7CD7e95_tCgg5M3eRIDHz1VFD04= HTTP/1.1Host: 127.0.0.1:8080Content-Type: multipart/form-data; boundry==*=*=*=*=*=--=*=*=*=*=*=Content-Disposition: form-data; name="torrent_file"; filename="[isoHunt] Buddhist Chants.torrent"Content-Type: application/x-bittorrentContent-Length: 39486<in here comes the binary data from the torrent file>--=*=*=*=*=*=--Cookie: GUID=LtpYIBY8cPXG1XaXLhVqAuthorization: Basic YWRtaW46Is this correct assuming that the token and cookie are correct?Thx in advance,Romeo Calota
lithopsian Posted July 3, 2011 Report Posted July 3, 2011 Looks right to me, but the true test is whether it works
Ultima Posted July 3, 2011 Report Posted July 3, 2011 Sorta. "boundry" should be spelled "boundary", but otherwise, it looks okay to me.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.