TLDR: Is there a way I can just choose files to seed automatically instead of downloading again first?

Pretty new to using torrents and I have a bunch of files I’ve been able to download over time through magnet links. Some of which I was unable to seed for long periods of time so removed but would like to be able to still seed them again.

It doesn’t look like I have torrent files for them and I tried copying the. Torrent file to another folder when using magnets to see if I could get it from that. I was able to get some from that but it seems to just start a Download again. Can anyone explain this process a little bit better for me so I can offer up my files at later times too?

  • ChaoticNeutralCzech@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    22 days ago

    You’re wrong. Partially. Stand by while I illustrate.

    File names are not included in content hashes.

    Let’s first see how a torrent file is created, using quick-and-dirty bitmaps I just drew. File sizes will be in whole MiB (1 MiB = 1 pixel width) for convenience.

    🚧 UNDER CONSTRUCTION 🚧

    So you have a file tree you wanna share.

    The client will arrange the files in some order. I think you can create a valid torrent file with any ordering but let’s just assume it’s by path, alphabetical. (Sizes are not to scale)

    Now file contents are concatenated.

    Then split into 14MiB chunks (in practice 16MiB but I forgot to account for border while drawing lol) and zero-padded (grey) to fill the last chunk.

    v2 .torrent files can be aligned (where large files always start at chunk border) but this is not allowed/encouraged in most trackers due to hit-and-miss support by clients.

    Now a hash is calculated for each chunk, creating a hash map. I’ll assume you know what hashing is.

    🚧 FOR INTERNAL USE 🚧 cuz I'm too lazy to transfer the text to my PC using a more reasonable method

    Externally, You can also omit .nfo files etc. but the whole chunk will not be seeded because

    • Hoimo@ani.social
      link
      fedilink
      English
      arrow-up
      0
      ·
      20 days ago

      So when I download only some files from a torrent, it’s likely that I can’t seed all of those files to the next person? I have done partial leeches before and left them seeding under the impression that I could at least seed exactly those files if anyone else wanted them. If that’s impossible (or at least unlikely to work because of chunking), then I might download the whole thing next time (or just leave the swarm).