@Antique
new version in the queueQuote:
Give some more info about the file on the link?
With pleasure
ProcessTorrent.rx is an AREXX file that eases the use of
CTorrent (which has yet to get a GUI). With this script i
don't provide such, but i provide far more than one could
expect ... check it out:
Features:
- Introduced a new satellite system for the Resume part.
Little scripts are sent out as soon as a torrent is to be downloaded
sitting in WBStartup, waiting for a reboot.
The first time they are called from within ProcessTorrent.rx, all the
other instances (crash/reboot), they will be executed through WBStartup
automatically ... and will kill themselves when the download is done!
Neat, eh?
- Automatic Resume: With help of a little script in WBStartup you are now
able to automatically resume a torrent after a reboot (without dealing
with the cli/shell!)
- Reduce the file/dir names to a length of 95 + descriptor (.torrent!)
(Hm, i thought this limitations were gone with OS4!? Anyway, to keep the
script backward compatible to older FS i added the check and truncation!)
- Rips the name from the torrent and names the file (if there's only one)
- Creates a subdir (again, name ripped from the processed torrent)
if there is more than one file inside the archive. (Path is User definable)
- User definable Torrent(Save)-path, Save-Path, Recovery-Path (lets you
resume the download after a crash or pause!), CON: output defineable
Options for CTorrent (stick to the CTorrent manual for this!)
- Takes care of the pathes, if there are none (as in user define) they will
be created.
- Torrent recovering: Saves the .torrent, so you don't have to go back to the
download site everytime a crash happened or a break was performed. Now
rips the right name from the .torrent and saves it with that specific name.
(Path is User definable)
- Deletes Bad Characters from the file name or dir name, such as :/[]()*?#,
as they would break the Amiga file/dir structure and the torrent couldn't
be saved to disk. (User enhanceable!)
- Checks for "printable" ASCII chars, so no ESC commands will make it
into the .torrent/Directory or File names.
- Respects the descriptor length of single files. i.e. .DivX, .mov etc. are
written as is and a second descriptor as in .tar.gz isn't cut off anymore.
(Stupid routine didn't work as expected)
- Displays the actual processed torrent's name (dir's name) in the torrent
window bar, so the user can see which torrent is being downloaded. The
ones that are finished will automatically be closed (and all the garbage
that came with ProcessTorrent's script will be deleted aswell)
- Displays the tracker the torrent comes from in the torrent window bar
- Uses unique port numbers (user definable space) whenever another torrent
is started. The Port number stays unique and will be saved for this
torrent until it's finished or cancelled.
- Automatically moves the window down (the size of user define conheight),
if another download is running. The window position stays unique and will
be saved for this torrent until it's finished or cancelled. (Windows won't
be overdrawn afterwards, rather the already open window will be avoided).
- Pops up a warning requester, if a torrent is processed which doesn't hold
any useable data, or in short - a broken torrent
- Deletion of the .torrent on a user decidable base (ON by default!)
...
and, of course, if you have problems, just get back here