-
-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Downloading torrent file to particular path using client.add() #61
Comments
You cannot download to an http path. You must use a disk path. |
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. |
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? |
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. 😄 |
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. |
@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 |
Hi okay, thanks for the information to direct download to a path issue. |
Hi,
Is it possible to download the torrent file directly to a specified folder. i am using the bellow function
client.add(torrentId, { path: 'http://localhost/projname/path' }, function (torrent) {
.....
......
});
torrent id is magnet url, but i am not able to get downloads in that folder and no error also. can you please check is that what i am doing is right?
The text was updated successfully, but these errors were encountered: