[GH-ISSUE #147] Continue download when navigating away from page #121

Closed
opened 2026-02-25 20:32:28 +03:00 by kerem · 7 comments
Owner

Originally created by @dachinat on GitHub (Jul 21, 2018).
Original GitHub issue: https://github.com/asapach/peerflix-server/issues/147

Hello, this is a really nice package and thank you for bringing it.

I have a question, perhaps a silly, did not dig into the internals yet.
Is it possible to continue downloading a file from torrent/magnet link after navigating away from actual page? Closing tab?

Thanks, I'd like to receive any help on this (maybe implementing if not supported).

Originally created by @dachinat on GitHub (Jul 21, 2018). Original GitHub issue: https://github.com/asapach/peerflix-server/issues/147 Hello, this is a really nice package and thank you for bringing it. I have a question, perhaps a silly, did not dig into the internals yet. Is it possible to continue downloading a file from torrent/magnet link after navigating away from actual page? Closing tab? Thanks, I'd like to receive any help on this (maybe implementing if not supported).
kerem 2026-02-25 20:32:28 +03:00
  • closed this issue
  • added the
    question
    label
Author
Owner

@asapach commented on GitHub (Jul 21, 2018):

Sure, all the work is happening in the Node process, so it will keep downloading until you terminate it. Browser is just the UI.

<!-- gh-comment-id:406785050 --> @asapach commented on GitHub (Jul 21, 2018): Sure, all the work is happening in the Node process, so it will keep downloading until you terminate it. Browser is just the UI.
Author
Owner

@dachinat commented on GitHub (Jul 21, 2018):

@asapach, thanks for replying. Right now when I click on Download button, a progress-bar will appear and an actual download will start (in Chrome downloads), however if I close the window (tab) where progress-bar appears, download terminates.

Is it something with my configuration or is this expected? I'd like to continue downloading file when that window (tab) is closed. Thanks.

<!-- gh-comment-id:406785229 --> @dachinat commented on GitHub (Jul 21, 2018): @asapach, thanks for replying. Right now when I click on Download button, a progress-bar will appear and an actual download will start (in Chrome downloads), however if I close the window (tab) where progress-bar appears, download terminates. Is it something with my configuration or is this expected? I'd like to continue downloading file when that window (tab) is closed. Thanks.
Author
Owner

@asapach commented on GitHub (Jul 21, 2018):

I'm afraid I lost you:

...when I click on Download button, a progress-bar will appear and an actual download will start (in Chrome downloads)

You mean this Download button?
image
There should be nothing in Chrome downloads until you click the file link.

<!-- gh-comment-id:406785645 --> @asapach commented on GitHub (Jul 21, 2018): I'm afraid I lost you: > ...when I click on Download button, a progress-bar will appear and an actual download will start (in Chrome downloads) You mean this Download button? ![image](https://user-images.githubusercontent.com/1755336/43034575-9594e1ea-8ce7-11e8-9e76-88123f9fb53f.png) There should be nothing in Chrome downloads until you click the file link.
Author
Owner

@dachinat commented on GitHub (Jul 21, 2018):

@asapach Right, "when you click the file link", sorry my bad. So, download will start when you click the file link, however when I close a tab where I made a click, download stops, in Chrome download progress it freezes.

<!-- gh-comment-id:406785760 --> @dachinat commented on GitHub (Jul 21, 2018): @asapach Right, "when you click the file link", sorry my bad. So, download will start when you click the file link, however when I close a tab where I made a click, download stops, in Chrome download progress it freezes.
Author
Owner

@asapach commented on GitHub (Jul 21, 2018):

Generally I use peerflix-server for video, and as such I don't download the files, but instead use video streaming either in the browser for MP4, or using VLC: https://www.vlchelp.com/stream-online-videos-pc-vlc-media-player/

<!-- gh-comment-id:406785762 --> @asapach commented on GitHub (Jul 21, 2018): Generally I use `peerflix-server` for video, and as such I don't download the files, but instead use video streaming either in the browser for MP4, or using VLC: https://www.vlchelp.com/stream-online-videos-pc-vlc-media-player/
Author
Owner

@asapach commented on GitHub (Jul 21, 2018):

I've just tried downloading in Chrome anyway: when you close the tab it keeps downloading - it can take a while, because, you know, peer-to-peer.
When you close the browser, there's nothing I can do to keep the download running, sorry.

<!-- gh-comment-id:406786150 --> @asapach commented on GitHub (Jul 21, 2018): I've just tried downloading in Chrome anyway: when you close the *tab* it keeps downloading - it can take a while, because, you know, peer-to-peer. When you close the *browser*, there's nothing I can do to keep the download running, sorry.
Author
Owner

@dachinat commented on GitHub (Jul 21, 2018):

When you close the browser

Yes, of course, I'm aware. I was talking about tab.

when you close the tab it keeps downloading

There's something with my configuration then, thanks a lot for looking into this.

I'll try to get it working. Thanks!

<!-- gh-comment-id:406786265 --> @dachinat commented on GitHub (Jul 21, 2018): > When you close the browser Yes, of course, I'm aware. I was talking about tab. > when you close the tab it keeps downloading There's something with my configuration then, thanks a lot for looking into this. I'll try to get it working. Thanks!
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/peerflix-server#121
No description provided.