Page 1 of 1

How to upload (seed) files with deluge-console?

Posted: Sat Oct 18, 2014 4:25 pm
by MarkusKramer
Hello Deluge,
I need to upload (seed) and download files purely by shell commands, no GUI allowed.
For the download part, deluged and deluge-console work perfectly.

When it comes to uploading (seeding), on Debian, my luck failed me.
I don't know how to tell deluge-console that I actually have the file.

In the current directory I have two files: Data.pdf and Data.pdf.torrent

First I tried

Code: Select all

deluge-console add Data.pdf.torrent
Attempting to add torrent: Data.pdf.torrent
Torrent added!

Problem: The torrent is and remains at 0%
deluge-console ignores the Data.pdf file and assumes I want to download.
This is kind of logical because I did not mention the Data.pdf (see the P.S.)
End of story: I am not seeding.

Next I tried

Code: Select all

deluge-console add Data.pdf
Attempting to add torrent: Data.pdf.torrent
Torrent added!


Problem: The torrent is not added at all.
(It is not shown in `deluge-console info` or the GUI.
End of story: I am not seeding.

How to seed files with deluge-console?
Or another command?

Best regards,
Markus

P.S.
The original BitTorrent command works

Code: Select all

btdownloadheadless --responsefile Data.pdf.torrent --saveas Data.pdf 
But this is outdated software.

P.P.S.
I use qBitTorrent as tracker, Deluge does not seem to contain a tracker.
Do you recommend another?

Re: How to upload (seed) files with deluge-console?

Posted: Sat Oct 18, 2014 4:30 pm
by Cas
When adding use the path option to specify location of torrent data.

Code: Select all

-p PATH, --path=PATH  save path for torrent
Note: You will have to doublequote the whole add command.

Re: How to upload (seed) files with deluge-console?

Posted: Sat Oct 18, 2014 5:08 pm
by MarkusKramer
Thank you, Cas.

This solves it

Code: Select all

deluge-console "add -p PATH Data.pdf.torrent"
PATH must be the absolute path to the directory that contains Data.pdf.
Example: deluge-console "add -p /home/markus/testP2P/ Data.pdf.torrent"