Giter Club home page Giter Club logo

Comments (7)

DiegoRBaquero avatar DiegoRBaquero commented on May 20, 2024

You cannot download to an http path. You must use a disk path.

from webtorrent-hybrid.

Mookambika avatar Mookambika commented on May 20, 2024

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.

DiegoRBaquero avatar DiegoRBaquero commented on May 20, 2024

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.

feross avatar feross commented on May 20, 2024

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.

Mookambika avatar Mookambika commented on May 20, 2024

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.

feross avatar feross commented on May 20, 2024

@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.

Mookambika avatar Mookambika commented on May 20, 2024

Hi

okay, thanks for the information to direct download to a path issue.

from webtorrent-hybrid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.