{"action":"created","issue":{"url":"https://api.github.com/repos/feross/webtorrent/issues/263","labels_url":"https://api.github.com/repos/feross/webtorrent/issues/263/labels{/name}","comments_url":"https://api.github.com/repos/feross/webtorrent/issues/263/comments","events_url":"https://api.github.com/repos/feross/webtorrent/issues/263/events","html_url":"https://github.com/feross/webtorrent/issues/263","id":57050562,"number":263,"title":"A few questions regarding using webtorrent for 1-to-1 private file sharing","user":{"login":"szimek","id":9873,"avatar_url":"https://avatars.githubusercontent.com/u/9873?v=3","gravatar_id":"","url":"https://api.github.com/users/szimek","html_url":"https://github.com/szimek","followers_url":"https://api.github.com/users/szimek/followers","following_url":"https://api.github.com/users/szimek/following{/other_user}","gists_url":"https://api.github.com/users/szimek/gists{/gist_id}","starred_url":"https://api.github.com/users/szimek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szimek/subscriptions","organizations_url":"https://api.github.com/users/szimek/orgs","repos_url":"https://api.github.com/users/szimek/repos","events_url":"https://api.github.com/users/szimek/events{/privacy}","received_events_url":"https://api.github.com/users/szimek/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/feross/webtorrent/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-02-09T16:08:12Z","updated_at":"2016-01-01T20:42:19Z","closed_at":"2015-12-15T08:36:47Z","body":"1. Does creating magnet uri require reading the whole file on the seed/sender side? Is there a way to get some progress notifications when processing larger files (e.g. +1GB)?\r\n2. What does webtorrent use on the recipient side to store files? filesystem api, indexeddb? \r\n3. What options do I need to set, so that others won't be able to download a file that I want to send only to a specific recipient? \r\n4. Does webtorrent automatically handle connection failures, e.g. when computer goes to sleep and then wakes up etc.?\r\n5. How can I get transfer progress notifications on sender and recipient side?\r\n\r\nI'm thinking about using webtorrent in https://www.sharedrop.io instead of my current crappy and slow (but working) code for handling file transfers."},"comment":{"url":"https://api.github.com/repos/feross/webtorrent/issues/comments/168336351","html_url":"https://github.com/feross/webtorrent/issues/263#issuecomment-168336351","issue_url":"https://api.github.com/repos/feross/webtorrent/issues/263","id":168336351,"user":{"login":"feross","id":121766,"avatar_url":"https://avatars.githubusercontent.com/u/121766?v=3","gravatar_id":"","url":"https://api.github.com/users/feross","html_url":"https://github.com/feross","followers_url":"https://api.github.com/users/feross/followers","following_url":"https://api.github.com/users/feross/following{/other_user}","gists_url":"https://api.github.com/users/feross/gists{/gist_id}","starred_url":"https://api.github.com/users/feross/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/feross/subscriptions","organizations_url":"https://api.github.com/users/feross/orgs","repos_url":"https://api.github.com/users/feross/repos","events_url":"https://api.github.com/users/feross/events{/privacy}","received_events_url":"https://api.github.com/users/feross/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T20:42:19Z","updated_at":"2016-01-01T20:42:19Z","body":"@szimek I'll add the following to @DiegoRBaquero's answers:\r\n\r\n1. We should add some progress events since for 1GB+ files, there's no feedback while the hashes are calculated.\r\n3. The safest thing to do is to encrypt the file on the client-side and include the decryption key in the link. Otherwise, there's not much you can do to prevent the tracker server from telling someone the infohash so it can be downloaded.\r\n4. Connection interruptions, like from laptop sleep, are automatically handled!\r\n\r\nLet me know if you have other questions. I'm happy to help."}}