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

General support for problems installing or using Deluge
Post Reply
MarkusKramer
Member
Member
Posts: 15
Joined: Sat Oct 18, 2014 1:44 pm

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

Post 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?
Cas
Top Bloke
Top Bloke
Posts: 3679
Joined: Mon Dec 07, 2009 6:04 am
Location: Scotland

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

Post 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.
MarkusKramer
Member
Member
Posts: 15
Joined: Sat Oct 18, 2014 1:44 pm

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

Post 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"
Post Reply