Windows - Other

Scripts to autoload torrent files from network shares

  • Download 5x Faster
  • Download torrent
  • Direct Download
  • Rate this torrent +  |  -
Scripts to autoload torrent files from network shares

Free and Direct Download with Usenet.nl 300GB+ free


Torrent info

Name:Scripts to autoload torrent files from network shares

Total Size: 2.45 KB

Magnet: Magnet Link

Seeds: 0

Leechers: 0

Stream: Watch Online @ Movie4u

Last Updated: 2010-03-22 11:47:14 (Update Now)

Torrent added: 2009-08-28 01:33:42





Torrent Files List


autoload network torrent files.zip (Size: 2.45 KB) (Files: 1)

 autoload network torrent files.zip

2.45 KB
 

Announce URL: http://open.tracker.thepiratebay.org/announce

Torrent description

Authored by GASTRIC - please share freely!!! Tested to function on WinXP only, though it should work on all Windows platforms.


PROBLEM
-------
uTorrent cannot successfully monitor network shares for new torrents. Thus it cannot successfully auto-load new torrents from these network shares.

In my environment I have a home server running that manages all of the network shares/storage/backups/etc. and a small Virtual Machine (VM) purely to download torrents. However, the VM has no direct access to the server drives it's running on, and the network torrent directory is on the server, thus the VM has to access the actual .torrents via shares like all other machines on the network. And so I cannot have the VM reliably auto-load the torrents from the network share. Whew! What a dilema. :)


SOLUTION
--------
Use these scripts to automatically copy torrents from network shares to your local drive. Then uTorrent can always successfuly auto-load the torrents for you since it has absolutely no problem reliably auto-loading torrents from local drives. Bingo!


INSTRUCTIONS
------------
Extract all files to the same directory on the computer running uTorrent. Then do the following:

1. Open uTorrent directories preferences, check 'automatically load .torrents from' and choose a local directory such as C:\torrents
2. Modify the VARIABLES in the SET section of the .BAT file to match your directories (otherwise it won't work). You can edit the .BAT in Notepad.
3. Place a shortcut to the .BAT file in your Startup folder so it automatically runs at Windows startup
4. Configure the shortcut properties to 'Run minimized' if you desire so it will sit quietly in your Taskbar

Note that running the .BAT file will cause a Command Prompt window to always be running on your computer. It will visibly log it's activity in case you want to check the window for what it's up to. However, if you close/exit the Command Prompt window the .BAT will no longer be running, thus no longer monitoring your torrents.

If you wish to run the .BAT file invisibly, you can configure the .VBS file to run at Windows startup instead of the .BAT The .VBS simply runs the .BAT for you, but you will not physically see the .BAT running. The advantage using the .VBS is that it cannot be accidentally closed since it is not at all visible. This disadvantage is you now have no way to turn it off as it doesn't appear as a running program. You would have to remove it from Startup, then restart Windows.

Note I'm absolutely, positively NOT a computer programmer. So there very well could be a much better way to accomplish this same task. Or even a better way to construct the code in the .BAT script. But it appears to work, and work well, so I'm sharing.

Enjoy.

------------
HERE IS THE CONTENTS OF THE .BAT FILE SCRIPT. YOU CAN SIMPLY COPY-PASTE INTO A TEXT FILE AND RENAME IT AS <filename>.BAT
------------
@ECHO OFF

REM AUTHORED BY GASTRIC - PLEASE SHARE FREELY
REM UTORRENT CANNOT SUCCESSFULLY MONITOR TORRENTS FROM A NETWORK SHARE
REM THIS SCRIPT MONITORS A NETWORK DIRECTORY FOR NEW TORRENTS AND MOVES THEM TO A LOCAL DIRECTORY SO UTORRENT CAN SUCCESSFULLY AUTO-LOAD THEM
REM TO USE THIS SCRIPT DO THE FOLLOWING
REM 1. Open uTorrent directories preferences, check 'automatically load .torrents from' and choose a local directory such as C:\torrents
REM 2. Place this .BAT file on your local hard drive, such as C:\torrents
REM 3. Place a shortcut to this .BAT file in your Startup folder so it automatically runs at Windows startup
REM 4. Configure the shortcut properties to 'Run minimized' if you desire
REM 5. Modify the VARIABLES in the SET section below to match your directories


REM THE NETWORK DIRECTORY YOU NEED TO MONITOR, CAN BE UNC OR MAPPED DRIVE LETTER, MAKE SURE TO LEAVE THE *.TORRENT ON THE END
SET NETWORK_DIRECTORY="\\server\auto LOAD TORRENTs\*.TORRENT"

REM THE LOCAL DIRECTORY YOU WANT TO MOVE THE TORRENTS TO
SET LOCAL_DIRECTORY="C:\TORRENT"

REM THE LENGTH OF TIME BETWEEN EACH CYCLE OF CHECKING THE NETWORK DIRECTORY, DEFAULT IS 15 SECONDS
SET PAUSE_TIME=15



:MONITOR_DIRECTORY
ECHO MONITORING FOR NEW TORRENTS... PLEASE WAIT...
IF EXIST %NETWORK_DIRECTORY% GOTO PROCESS_FILES
IF NOT EXIST %NETWORK_DIRECTORY% GOTO DONT_PROCESS_FILES


:PROCESS_FILES
ECHO FOUND NEW TORRENTS! MOVING FROM NETWORK TO LOCAL DRIVE FOR PROCESSING
move %NETWORK_DIRECTORY% %LOCAL_DIRECTORY%
@ping 127.0.0.1 -n %PAUSE_TIME% -w 1000> nul
GOTO MONITOR_DIRECTORY


:DONT_PROCESS_FILES
@ping 127.0.0.1 -n %PAUSE_TIME% -w 1000> nul
GOTO MONITOR_DIRECTORY

related torrents

Torrent name

health leech seeds Size
 

comments (0)

Main Menu