Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upConfiguring storage #200
Configuring storage #200
Comments
This comment has been minimized.
This comment has been minimized.
|
If you're using the command line version of the app, use the
|
This comment has been minimized.
This comment has been minimized.
|
@feross, thank you for your time, but no. I need a description of how to configure storage programmatically because the following piece of documentation doesnt describe it enough.
I just want to swap peerflix in my software with your module :) |
This comment has been minimized.
This comment has been minimized.
|
You can pass the var WebTorrent = require('webtorrent');
var client = new WebTorrent();
client.add(torrentId, { tmp: '/path/to/download/folder' });Sorry that the option is currently undocumented. I think the option name will eventually change to |
This comment has been minimized.
This comment has been minimized.
|
@feross, as I assume since I pass this option webtorrent will use disc storage rather than memory. Am I right? |
This comment has been minimized.
This comment has been minimized.
|
Yep, you are right. |
Hi, guys!
Sorry for such a question, but I cant find answer in the documentation by myself.
How do I configure storage parameter to use filesystem? How to set up temp directory path for downloading content?