-
Notifications
You must be signed in to change notification settings - Fork 152
How to seed pre-downloaded torrent? #509
Copy link
Copy link
Open
Description
I was wondering on the desktop version, but now i'm facing the problem using librqbit directly.
When i do:
let managed_torrent_handle = session.add_torrent(
AddTorrent::from_local_filename("tests/hello/hello.torrent").unwrap(),
Some(AddTorrentOptions {
output_folder: Some("tests/hello/".to_string()),
..Default::default()
})
).await.unwrap().into_handle().unwrap();
I get:
called `Result::unwrap()` on an `Err` value: error creating a new file (because allow_overwrite = false) "tests/hello/hello"
I tried setting paused: true with the same result.
There are several use-cases involved, one of them is migrating from another torrent client. In this specific case however, i'd like to start seeding in library tests with various settings to check that everything works fine under different scenarios (PEX, IPv4 tracker, IPv6 tracker, etc).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels