Auto-Upload to torrent server.. help??
Auto-Upload to torrent server.. help??
Hi guys,
I've been searching high and low for a post-processing script that once a file is downloaded, it will make a torrent of the file and upload it to a local server I have running on my internal network. Reasons for something like this is some files get auto downloaded at like 5am so I'm usually asleep once it's done so am unable to upload it and would like to have it up asap so all the guys on my network can grab it straight away.
Currently I'm using utorrent as my client.
I don't have much knowledge with scripting so would really appreciate it if someone could come up with this sort of script as Im sure there are more guys looking for something like this.
I have also used the search function and it didn't return anything for my query.
Thanks again
I've been searching high and low for a post-processing script that once a file is downloaded, it will make a torrent of the file and upload it to a local server I have running on my internal network. Reasons for something like this is some files get auto downloaded at like 5am so I'm usually asleep once it's done so am unable to upload it and would like to have it up asap so all the guys on my network can grab it straight away.
Currently I'm using utorrent as my client.
I don't have much knowledge with scripting so would really appreciate it if someone could come up with this sort of script as Im sure there are more guys looking for something like this.
I have also used the search function and it didn't return anything for my query.
Thanks again
Last edited by Toady on August 16th, 2010, 1:10 pm, edited 1 time in total.
Re: Auto-Upload to torrent server.. help??
Have you even done this manually? If so which tracker, which web server and which torrent client did you use ... ?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Auto-Upload to torrent server.. help??
If you mean have i ever created these torrents manually... yes but at 5am I'm unable to do so since im asleep.
Tracker is:
http://torrents.ctwug.za.net/announce.php
http://tt1.ctwug.za.net/announce
Web server:
http://torrents.ctwug.za.net
Torrent Client:
uTorrent 2.0.2
I assume these are the details you are asking
Tracker is:
http://torrents.ctwug.za.net/announce.php
http://tt1.ctwug.za.net/announce
Web server:
http://torrents.ctwug.za.net
Torrent Client:
uTorrent 2.0.2
I assume these are the details you are asking
Re: Auto-Upload to torrent server.. help??
See below, and included torrent.
Code: Select all
sander@quirinius:~$ mktorrent v4_v6_translation.pdf -a http://torrents.ctwug.za.net/announce.php
mktorrent 1.0 (c) 2007, 2009 Emil Renner Berthing
Hashed 2 of 2 pieces.
Writing metainfo file... done.
sander@quirinius:~$ ls -al v4_v6_translation.pdf
v4_v6_translation.pdf v4_v6_translation.pdf.torrent
sander@quirinius:~$ ls -al v4_v6_translation.pdf*
-rw-r--r-- 1 sander sander 414017 2007-11-02 20:37 v4_v6_translation.pdf
-rw-r--r-- 1 sander sander 241 2010-08-17 06:56 v4_v6_translation.pdf.torrent
sander@quirinius:~$
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Auto-Upload to torrent server.. help??
So basicly you want an autoupload script to your tracker that does : ?
* Watch for new contect in a folder or start the script after download is done
* Make a .torrent of a folder
* Upload the .torrent to your torrentwebsite
* download the upload .torrent to your utorrent & start seeding ?
If so .. this is not very easy to make ... some private sites have it .. but it costs a lot of money
(just search for it on the web , ad you will see the prices)
* Watch for new contect in a folder or start the script after download is done
* Make a .torrent of a folder
* Upload the .torrent to your torrentwebsite
* download the upload .torrent to your utorrent & start seeding ?
If so .. this is not very easy to make ... some private sites have it .. but it costs a lot of money
(just search for it on the web , ad you will see the prices)
Re: Auto-Upload to torrent server.. help??
Yup, that's basically it. A guy on my network has a script which he made for another sabnzbd server running on the network but for some reason doesn't want to share it. I'll just keep looking, if i find one I'll post it here.rascalli wrote: So basicly you want an autoupload script to your tracker that does : ?
* Watch for new contect in a folder or start the script after download is done
* Make a .torrent of a folder
* Upload the .torrent to your torrentwebsite
* download the upload .torrent to your utorrent & start seeding ?
If so .. this is not very easy to make ... some private sites have it .. but it costs a lot of money
(just search for it on the web , ad you will see the prices)
Thanks anyways
Re: Auto-Upload to torrent server.. help??
So what you do is download something via Usenet/SABnzbd, and then internally share it via Bittorrent? And "internally" means in-home, neighbour-LAN, campus, or something like that?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Auto-Upload to torrent server.. help??
Yes exactly that. It's over a community wireless network with 100+ userssander wrote: So what you do is download something via Usenet/SABnzbd, and then internally share it via Bittorrent? And "internally" means in-home, neighbour-LAN, campus, or something like that?
Re: Auto-Upload to torrent server.. help??
Sounds not too difficult. Pseudocode:
I think this is a 10 line script (with a few dozen lines of error checking) which I could create on Linux if I had access to a webserver and tracker. The problem is that this is probably not useful for you; you use utorrent so probably Windows as OS, and it all depends on the peculiarities to your web server and tracker
Code: Select all
as soon as SAB has completed a download:
create a .torrent for the downloaded file
copy the downloaded file to right torrent directory (on local machine)
copy .torrent to webserver and/or tracker
start torrent client with .torrent as parameter
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
Re: Auto-Upload to torrent server.. help??
Doesn't seem to be too impossible, might be a bit more than 10 lines + debugging in C#, but if I get a chance I'll give this a shot.
I assume this is all Windows based? If not I'm barking up the wrong tree.
-Markus
I assume this is all Windows based? If not I'm barking up the wrong tree.
-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Re: Auto-Upload to torrent server.. help??
Try Sab2Torrent here: http://code.google.com/p/sabscripts/
-Create a Torrent
-Optionally send it to uTorrent
Set your variables and you're off. If you want support for uploading to a server, let me know how the transfer needs to work... local file system, SMB (Windows Share), FTP and I'll see what I can do.
For TV Shows the created torrent would contain all the files in the season folder (assuming season sorting is enabled and the video files all end up in the same directory). Let me know how it works for you, I did some testing and so far so good, but please let me know if you find any issues.
-Markus
-Create a Torrent
-Optionally send it to uTorrent
Set your variables and you're off. If you want support for uploading to a server, let me know how the transfer needs to work... local file system, SMB (Windows Share), FTP and I'll see what I can do.
For TV Shows the created torrent would contain all the files in the season folder (assuming season sorting is enabled and the video files all end up in the same directory). Let me know how it works for you, I did some testing and so far so good, but please let me know if you find any issues.
-Markus
Co-developer of NzbDrone (.Net NNTP PVR) - http://www.nzbdrone.com
Re: Auto-Upload to torrent server.. help??
That looks good
Normally you need to upload the .torrent by html
Add info about the torrent (most is in nfo)
Then redownload the .torrent again
And start seedng that downloaded torrent in your client
Normally you need to upload the .torrent by html
Add info about the torrent (most is in nfo)
Then redownload the .torrent again
And start seedng that downloaded torrent in your client
Re: Auto-Upload to torrent server.. help??
You could probably try torrent auto uploader by Janhouse http://www.janhouse.lv/uploader/
Re: Auto-Upload to torrent server.. help??
I use torrent-uploader.com. could be an interest to you
Re: Auto-Upload to torrent server.. help??
Hi Markus,markus101 wrote: Try Sab2Torrent here: http://code.google.com/p/sabscripts/
-Create a Torrent
-Optionally send it to uTorrent
Set your variables and you're off. If you want support for uploading to a server, let me know how the transfer needs to work... local file system, SMB (Windows Share), FTP and I'll see what I can do.
For TV Shows the created torrent would contain all the files in the season folder (assuming season sorting is enabled and the video files all end up in the same directory). Let me know how it works for you, I did some testing and so far so good, but please let me know if you find any issues.
-Markus
Thanks for the script, looks really good. As for support for uploading, it seems a similar guy has just used a make torrent script like yours and somehow his utorrent watches a folder for new .torrent files and uploads it to the torrent server. I'll see if i can google this.
Torrent creation works like a charm... now anyone know where a windows script to upload a torrent and then re-download it can be found... google is proving fruitless
Basically need something like this: http://forums.sabnzbd.org/index.php?topic=6244.0 but for windows enviroment as thats where all my files are
Last edited by Toady on February 20th, 2011, 5:41 am, edited 1 time in total.