Hi there...
I have deluge running smoothly in centos 6.3, a headless server, I use v 1.3.5, and gtk ui in win 7 x64 for access....
everything works quite well except that there are 2 problems:
creating torrents works fine as long as the files are in a subfolder UNDER the Downloads folder... if I want to create a torrent from a file that is in the Downloads folder, it makes a torrent and calls it Downloads.torrent????? and not the filename as it should?????
The file structure is as follows... /home/seedr1/Downloads with files and folders in the Downloads folder.
Also I cant seem to save my preferences at all? For every torrent theat I create I have to select the tracker, piece size, etc all over again??
Pls advise, I used to have 1.3.3 and that was working ok? Is 1.3.5 not correct or what?
20/2/2013 - 13:40 : Where is Support Staff? Is this forums not supposed to be for people that have problems on Deluge ? Can the developers not answer????
how to create torrents remotely
Re: how to create torrents remotely
You can only create torrents locally so I am not sure how you are using a Linux path in the Windows UI.
There is no option currently to save the prefs but you can create feature request ticket.
There is no option currently to save the prefs but you can create feature request ticket.
Re: how to create torrents remotely
Its very simple..... you ftp into the box, select the exact path of the file for which you want to create a torrent and then copy/paste that into the remote path box mate.....
Its just that this is an incredibly convoluted way of doing this..... surely there HAS to be another way of torrent creation when you are running a seedbox using deluge?
Also, are you guys looking into a remote file manager for this app?
This is an awesome torrent client, and I am sure I am NOT the only person who would like to replace rutorrent with deluge, but its sooo difficult - I cant find ANY tutorials that are even halfway decent for this.....
Its just that this is an incredibly convoluted way of doing this..... surely there HAS to be another way of torrent creation when you are running a seedbox using deluge?
Also, are you guys looking into a remote file manager for this app?
This is an awesome torrent client, and I am sure I am NOT the only person who would like to replace rutorrent with deluge, but its sooo difficult - I cant find ANY tutorials that are even halfway decent for this.....
Re: how to create torrents remotely
I had forgotten about the remote path option. You need to specify the full torrent filename not just the folder when saving.TheGene wrote: you ftp into the box, select the exact path of the file for which you want to create a torrent and then copy/paste that into the remote path box
Another developer has prototype code that might help browsing for files on remote OS.TheGene wrote:Also, are you guys looking into a remote file manager for this app?
We are an open source project and rely mainly on the community to help with user documentation.TheGene wrote:This is an awesome torrent client, and I am sure I am NOT the only person who would like to replace rutorrent with deluge, but its sooo difficult - I cant find ANY tutorials that are even halfway decent for this.....
Re: how to create torrents remotely
okay, this is what I use when creating a torrent :
path as : /home/seedman/Downloads/<filename> is entered in the remote path and the save fields.....
then it creates a torrent file called ".torrent" .......
if I use a trailing backslash like so :
/home/seedman/Downloads/<filename>/
it doesnt accept it at all...... If I point it to a folder with content, it works perfectly...... as in:
/home/seedman/Downloads/<foldername>
it creates a torrent called <foldername>.torrent and the content is also correct.......
So there is a problem with the creation of a torrent when its a single file....???
In the meantime, I found some code in the forums, originally posted by super-poussin, which could really be helpful as a standalone app....
This is the php:
and here is the html to call it....
Maybe some clever person can just adapt this so it can be used to access a deluge installation on a seedbox and not just the local one? That would solve a LOT of problems for users until deluge itself is set up to handle remote file management....
You say there is another dev that is working on a filemanager..... can you perhaps put me in touch with him? I would like to help if I can even if its only with testing or whatever, as I said, This is an awesome application we must all help to make it perfect..... I have a server idle that we can use for testing purposes, lol it doesnt matter if it crashes its not a production server. And as far as the documentation goes, I WILL help there, lets get this working correct and I will write you a good tut for this app.... I am an experienced editor at Gizmo's and will do u a good and proper tutorial we can post here.
path as : /home/seedman/Downloads/<filename> is entered in the remote path and the save fields.....
then it creates a torrent file called ".torrent" .......
if I use a trailing backslash like so :
/home/seedman/Downloads/<filename>/
it doesnt accept it at all...... If I point it to a folder with content, it works perfectly...... as in:
/home/seedman/Downloads/<foldername>
it creates a torrent called <foldername>.torrent and the content is also correct.......
So there is a problem with the creation of a torrent when its a single file....???
In the meantime, I found some code in the forums, originally posted by super-poussin, which could really be helpful as a standalone app....
This is the php:
Code: Select all
<?php
$name = $_POST ['name'];
$var2 = $_POST ['var2'];
$directory = $_POST ['directory'];
$URL = $_POST ['tracker'];
$private = $_POST ['private_torrent'];
$torrentpath="/c/media/BitTorrent/sources/";
$savepath="/c/webroot/transmission/archives/";
$filename=$name.".torrent";
$mode="0777";
$transcreate="/usr/local/bin/transmission-create";
switch ($private)
{
case "yes" :
$last_line=exec("$transcreate -p -o $savepath$filename -t $URL $directory",$retval=array());
break;
case "no" :
default :
$last_line=system("$transcreate -o $savepath$filename -t $URL $directory",$retval=array());
}
copy( "$savepath$filename","$torrentpath$filename");
echo '<pre>';
echo '
</pre>
<hr /> Result : ' . $last_line;
#chown("$path$filename","nobody");
chmod ("$torrentpath$filename",0777);
chmod ("$savepath$filename",0777);
#exec("chown nobody:nogroup $path$filename");
#exec("/c/webroot/transmission/modify.sh");
echo '<pre>';
echo '
</pre>';
?>
Code: Select all
<html>
<header>
<center>
<bold>
Released by Super-Poussin
</bold>
</center>
</header>
<body background="fond.jpg">
<table border="0" width="100%" align="left" height="80%" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td valign="middle">
<table border="0" width="45%" align="left" height="100%">
<tbody>
<tr>
<td align="center" height="100%" cellpadding="0" cellspacing="0" valign="middle"><img src="SuperPoussin.png"></td>
</tr>
</tbody>
</table>
<form id="form1" name="form1" method=post action="transmission.php">
<p><kbd><strong>Torrent Name: </strong></kbd></p>
<p>
<label>
<input type="text" name="name" id="textfield1" value="Mytorrent"/>
</label>
</p>
<p><kbd><strong>Directory or File : </strong></kbd></p>
<p>
<label>
<input type="text" name="directory" id="textfield3" value="/c/"/>
</label>
</p>
<p><kbd><strong>Tracker URL: </strong></kbd></p>
<p>
<label>
<input type="text" name="tracker" id="textfield4" value="http://"/>
</label>
</p>
Private Torrent:<br />
<select name="private_torrent">
<option value="choose" selected="selected">Choose an option
<option value="yes">yes
<option value="no">no
</select>
<p> </p>
<input type="submit" name="button" value="Create Torrent"/>
<p>
</label>
<p> </p>
</form>
</body>
<footer>
<br>It coudld be long, be patient ! <br/>
Files are saved in /c/webroot/transmission/archives and put in /c/media/BitTorrent/sources/ for immediate seeding
</footer>
</html>

You say there is another dev that is working on a filemanager..... can you perhaps put me in touch with him? I would like to help if I can even if its only with testing or whatever, as I said, This is an awesome application we must all help to make it perfect..... I have a server idle that we can use for testing purposes, lol it doesnt matter if it crashes its not a production server. And as far as the documentation goes, I WILL help there, lets get this working correct and I will write you a good tut for this app.... I am an experienced editor at Gizmo's and will do u a good and proper tutorial we can post here.
Re: how to create torrents remotely
The save path box needs a filename, not folder, which is the full path including '.torrent' extension i.e.:
Code: Select all
/home/seedman/Downloads/yourtorrentfilename.torrent
Re: how to create torrents remotely
Brilliant..... now we are getting somewhere..... that works fine, thanks cas, ok what I'll do is this weekend I will do the first tutorial for you, then you will see....
Since this aspect is really the only one that was giving a problem so far, lol we are on a winning streak here!!
Now if we only had that file manager IN deluge instead of having to resort to a FTP externally for the paths we would REALLY be cooking eh? And of course being able to save the presets..... ( Like an "Apply to All" button, I'm sure ... very sure... there used to be one?
Anyway, I will do a first tut for u as promised and then we can take it from there, see what else we need and I do em as requested, thanks a lot mate......
Since this aspect is really the only one that was giving a problem so far, lol we are on a winning streak here!!
Now if we only had that file manager IN deluge instead of having to resort to a FTP externally for the paths we would REALLY be cooking eh? And of course being able to save the presets..... ( Like an "Apply to All" button, I'm sure ... very sure... there used to be one?
Anyway, I will do a first tut for u as promised and then we can take it from there, see what else we need and I do em as requested, thanks a lot mate......