Comments (6)
So, there's a bit of a misunderstanding of the commands here. webtorrent create /my/path
will create a torrent file for the contents of /my/path
. That part is correct.
But when you use webtorrent seed /my/path2
, you're actually creating a torrent for /my/path2
and seeding the files there. So you don't want to run webtorrent seed somefile.torrent
as then you'll be seeding the torrent file itself.
Your webtorrent seed ~/Downloads/test_dataset
command is the right one to use.
But you have another problem, which is that you used --private
when you created the initial torrent file, but not when you were seeding, so you ended up creating a different torrent file. You need to use consistent flags. I recommend not using --private
as that just prevents the use of the DHT to find peers, which is not what you want.
Hope this helps!
from webtorrent-cli.
from webtorrent-cli.
@rom1504 no I'm not sure it does what I want. There weren't many notes that I could find explaining what it does and googling various combinations of "private torrent file" weren't what I was looking for.
from webtorrent-cli.
from webtorrent-cli.
not seed publicly yet, only to those whom I gave the torrent. I guess it might mean only use private trackers or something?
Would that flag have caused the behavior I saw?
from webtorrent-cli.
Hello. This instruction does not work for me as for the author, even without --private in the latest version.
And also the code below does not work ... instant.io does not see the link.
const WebTorrent = require('webtorrent-hybrid')
const client = new WebTorrent()
const filePath = __filename
console.log('filePath:', filePath)
client.seed(filePath, torrent => {
console.log('torrentId (info hash):', torrent.infoHash)
// console.log('torrentId (magnet link):', torrent.magnetURI)
})
from webtorrent-cli.
Related Issues (20)
- -s / --select flag is broken HOT 4
- Display multiple torrents HOT 9
- ENOSPC: no space left on device, write HOT 7
- Internet disconnectivity while streaming HOT 6
- mpv doesn't open on windows HOT 1
- subtitles broken with mpv HOT 2
- How to add subtitles to --vlc, subtiltes not attached to stream HOT 1
- Webtorrent cli needs to output a magnet uri when seeding HOT 1
- Torrent information HOT 4
- --select just downloads all files in torrent rather than the specified one HOT 1
- Download only file that's being requested HOT 3
- bash-completion support for options HOT 3
- Download crash HOT 1
- Chromecast to specific device: choose a specific tv. Help me HOT 1
- Invalid torrent identifier HOT 1
- Error: ESPIPE: invalid seek, write HOT 1
- How to deal with ":" taken from "Name:" in the metadata used for naming folder? HOT 1
- I want to print the 'Server running at' url in terminal or print it before
- download command not I am expected HOT 1
- UI - disable torrent wires HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtorrent-cli.