Comments (7)
You cannot download to an http path. You must use a disk path.
from webtorrent-hybrid.
Hi
Even i tried with disk path also its also not worked, can you please tell me after converting magnet url to torrent file how can i save the torrent file directly to a folder is there any other methods.
from webtorrent-hybrid.
Try './', it should download to whatever directory you run the command on.
Can you also provide which OS, Node version, and webtorrent-hybrid versions are you using?
from webtorrent-hybrid.
Sorry, this isn't really a support forum. I'm going to close this. If you and others wish to continue discussion, don't let this stop you. 😄
from webtorrent-hybrid.
Hi
thanks for the reply, sorry i forgot to inform you that i am using web torrent for the browser not desktop, i want to download torrent file directly to specified path after conversion from magnet url.
from webtorrent-hybrid.
@Mookambika Sorry, you can't download directly to the user's file system from a browser. This isn't allowed by the browser for security reasons, or any website could just save files randomly on your drive, overwriting important files.
You will need to use the file.getBlob
or file.getBlobURL
methods, documented here: https://webtorrent.io/docs to create a link to the file that the user can click to trigger a download. There is a code sample at the very bottom of the page.
from webtorrent-hybrid.
Hi
okay, thanks for the information to direct download to a path issue.
from webtorrent-hybrid.
Related Issues (20)
- No interoperability with instant.io HOT 1
- undefined symbol: napi_add_env_cleanup_hook HOT 1
- installation error HOT 3
- Error: Cannot read property 'catch' of null HOT 4
- Dependency Dashboard HOT 1
- installation fails HOT 1
- node-pre-gyp not found
- Unable to read event under a event. HOT 3
- cannot read property 'replace' of undefined
- Cannot import in expressjs HOT 5
- TypeScript support HOT 1
- Nodejs WebTorrent.WEBRTC_SUPPORT false, but expected true HOT 1
- Update for Fast Extensions? HOT 2
- WebRTC peer, not working the linux cli HOT 10
- `npm install webtorrent-hybrid -g` fails on Ubuntu 20LTS and Windows 10 HOT 9
- shouldn't this repository be invalid as webtorrent/webtorrent #143 was merged HOT 1
- Error: Cannot find module '../build/Release/wrtc.node' When using
- globalThis is not defined HOT 3
- Error about `node-gyp` or `node-pre-gyp` when install HOT 10
- `npm i -S webtorrent-hybrid` — error HOT 3
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-hybrid.