# ทอร์เรนต์

VDM downloads BitTorrent files from magnet links and `.torrent` files. Torrents appear in the same list as other downloads, marked **Torrent** in the **Source** column, and can be queued and scheduled like them.

## เพิ่มทอร์เรนต์

1. คลิก **เพิ่มทอร์เรนต์** บนแถบเครื่องมือเพื่อเลือกไฟล์ `.torrent` หรือคลิกลูกศรข้างปุ่ม แล้วเลือก **เปิดไฟล์ทอร์เรนต์...** หรือ **เพิ่มลิงก์แม่เหล็ก...** (มีใน **งาน** ด้วย)
2. หน้าต่าง **เพิ่มทอร์เรนต์** จะเปิดขึ้น วางลิงก์แม่เหล็กในช่อง **ทอร์เรนต์** หรือคลิก **...** เพื่อเลือกไฟล์ `.torrent` จากนั้นคลิก **ค้นหา**
3. VDM reads the torrent and shows its files as a folder tree. A `.torrent` file is read at once. A magnet link first has to get the file list from other peers, usually within seconds. While it waits, **Add torrent** shows how many peers it found, from the trackers, the DHT or your local network, and how many answered. After 30 seconds without an answer, it says what may be in the way: a link with no trackers while the DHT is off, or a firewall, a VPN or a network that blocks BitTorrent.
4. ยกเลิกการเลือกโฟลเดอร์หรือไฟล์ที่ไม่ต้องการ **เลือกทั้งหมด** และ **ไม่เลือกเลย** ช่วยจัดการทอร์เรนต์ขนาดใหญ่ **ที่เลือก** จะแสดงจำนวนไฟล์และปริมาณข้อมูลที่เลือก
5. ตรวจสอบ **บันทึกไปที่** **ไฟล์จะไปที่** แสดงโฟลเดอร์ที่แน่นอน ทอร์เรนต์มีหมวดหมู่ของตัวเอง ดังนั้นโดยค่าเริ่มต้นจะเป็น `Downloads\Torrents` สำหรับทอร์เรนต์หลายไฟล์ที่ดาวน์โหลดโดยตรงผ่าน BitTorrent **สร้างโฟลเดอร์สำหรับทอร์เรนต์นี้** จะถูกเลือกโดยค่าเริ่มต้น ยกเลิกการเลือกเพื่อวางไฟล์โดยตรงใน **บันทึกไปที่** โดยคงโฟลเดอร์ภายในไว้ โครงสร้างไฟล์และ **ไฟล์จะไปที่** จะอัปเดตให้ตรงกัน **เปลี่ยนชื่อ** จะถูกปิดใช้งานในขณะที่ไม่มีโฟลเดอร์ภายนอกให้ตั้งชื่อ
6. หากต้องการดูวิดีโอระหว่างดาวน์โหลด ให้เลือก **ดาวน์โหลดตามลำดับ** (ดู [ดาวน์โหลดตามลำดับ](#download-in-order))
7. คลิก **ดาวน์โหลดเดี๋ยวนี้** หรือ **ภายหลัง** เพื่อเพิ่มลงในรายการโดยไม่ต้องเริ่มดาวน์โหลด

ปลายทางที่ถูกใช้งานโดยการดาวน์โหลดอื่นอยู่แล้ว รวมถึงรายการที่รออยู่ด้วย **ภายหลัง** จะต้องถูกเปลี่ยนก่อนที่จะสามารถเพิ่มทอร์เรนต์ได้ ซึ่งรวมถึงพาธที่ไม่ได้เลือกเนื่องจากส่วนที่ทับซ้อนกันสามารถเขียนลงไปได้ ทอร์เรนต์เก่าที่ไม่มีรายการอ้างสิทธิ์ไฟล์ที่บันทึกไว้จะสงวนปลายทางทั้งหมดอย่างระมัดระวัง เลือกปลายทางอื่นหรือลบรายการนั้นออกจากรายการโดยไม่ลบไฟล์ก่อนที่จะแชร์ไดเรกทอรี

**Also delete the file from disk** removes the files VDM made for the torrent, each recognised by its file index and the time it was created, so a file that took the same name later is never taken for the torrent's. Files that were already there, files another download claims and files you agreed to use stay. VDM creates every ticked file of a torrent itself, empty, before it starts, so they are removed with it. Unticked files aren't made in the folder: the parts of the pieces they share with ticked files are kept in VDM's own torrent data, and go with the torrent; a file ticked later is made then, and gets them. Only empty folders VDM created are removed; existing folders and a shared **Save to** folder stay. A torrent with its own outer folder, added before this version, is deleted the way it always was. An older one-file torrent is deleted by name, from its own folder. Another older torrent (saved without an outer folder) has no record of its files: VDM keeps them and says why, so check and remove them yourself. A filesystem that gives no reliable creation time (FAT and exFAT, some network and Linux filesystems) keeps its files: VDM never deletes what it cannot recognise. Whenever **Also delete the file from disk** leaves files on the disk, VDM lists them. A **Save to** folder that does not exist yet is made, with its parents, when the torrent starts. A torrent added before this version, with its own folder or one file, takes the files already there as its own once, so resuming it or sharing it again does not ask about files VDM itself downloaded.

The torrent can only write into files VDM has checked, however it starts (**Download Now**, **Resume**, the Files tab, **Recheck**, or when VDM opens). If a file is at one of its paths and VDM did not make it (saved there after the torrent was added, replaced while the torrent was stopped, or moved to another drive by something other than VDM), VDM asks before using it. **Yes** lets the torrent use the file and write into it, and VDM never deletes it; **No** leaves it as it is and the torrent does not start. Starting it again asks again. An empty file is asked about too (a `.gitkeep`, or a file another program has just made and is about to write). If you replace a file while its torrent is stopped, starting the torrent adds it again on the file that is there now, so what you agreed to is what it writes to. When VDM opens, finished torrents are shared again only if their files are as VDM left them; one with a file that would need your permission is left stopped, and VDM asks nothing then.

An older VDM can open a list that holds a torrent saved without its own folder, but it does not know that its folder is shared: do not Move, Rename or Delete that torrent there. Its Delete with files removes every file of the torrent in **Save to**, those you agreed to use included, and **Save to** itself if that is then empty. This version recognises such a torrent again from its address, which an older VDM keeps.

1. ยกเลิกการเลือกสิ่งที่คุณไม่ต้องการ จากนั้นคลิก ดาวน์โหลดเดี๋ยวนี้

   [![หน้าต่างเพิ่มทอร์เรนต์ที่แสดงไฟล์ทอร์เรนต์ในรูปแบบโครงสร้างโฟลเดอร์ โฟลเดอร์ปลายทาง และดาวน์โหลดเดี๋ยวนี้](https://vdm.mikaillab.com/help/images/help/torrent-add.webp)](https://vdm.mikaillab.com/help/images/help/torrent-add.webp) [![หน้าต่างเพิ่มทอร์เรนต์ที่แสดงไฟล์ทอร์เรนต์ในรูปแบบโครงสร้างโฟลเดอร์ โฟลเดอร์ปลายทาง และดาวน์โหลดเดี๋ยวนี้](https://vdm.mikaillab.com/help/images/help/torrent-add-dark.webp)](https://vdm.mikaillab.com/help/images/help/torrent-add-dark.webp)
2. หน้าต่างแสดงความคืบหน้า: แต่ละไฟล์และปริมาณที่ดาวน์โหลดได้

   [![หน้าต่างแสดงความคืบหน้าของทอร์เรนต์ในแท็บ ไฟล์](https://vdm.mikaillab.com/help/images/help/torrent-files.webp)](https://vdm.mikaillab.com/help/images/help/torrent-files.webp)
3. ชิ้นส่วน: แผนที่ของทอร์เรนต์ที่กำลังเติมเต็ม

   [![แท็บชิ้นส่วน: แสดงสี่เหลี่ยมแทนแต่ละชิ้นส่วน โดยจะเติมสีเมื่อได้รับชิ้นส่วนนั้นแล้ว](https://vdm.mikaillab.com/help/images/help/torrent-pieces.webp)](https://vdm.mikaillab.com/help/images/help/torrent-pieces.webp)

You can also paste a magnet link into **Add URL**, or drop a magnet link or a `.torrent` file on the drop target (**Tasks → Show drop target**). If a torrent is already in the list, VDM says so instead of adding it twice.

A `.torrent` file's web address works too: paste it into **Add URL** or **Torrent**, or let the browser hand the download over. VDM fetches the file, with the browser's cookies when the browser sent it, and **Add torrent** shows what it holds. The browser hands `.torrent` downloads over when `TORRENT` is in **Options → File types** and **Open magnet links and .torrent files with Volt Download Manager** is on in [Torrent settings](#torrent-settings). `TORRENT` is in the list by default; a list you had before it came keeps what it had, so add `TORRENT` to it yourself. While that setting is off, the browser keeps `.torrent` downloads and opens them in your own torrent program, and the extension's button says why. **Download with Volt Download Manager** on a link always hands it over. A command line with `/n` (silent) saves the `.torrent` file itself, like any file. VDM fetches at most 10 MB: anything bigger isn't a `.torrent` file.

If some of the torrent's files are already in the folder, VDM asks before using them. **Yes** keeps them for the torrent: VDM checks them, keeps what matches the torrent and downloads the rest, which is how you continue a download started elsewhere or share files you already have. **No** (the default) goes back, so you can choose another folder and nothing of yours is overwritten.

The chosen layout is kept when the torrent is paused or VDM restarts. A multi-file torrent saved directly in **Save to** shares that directory: **Move/Rename** and folder renaming on completion are disabled for it so they cannot move unrelated files. Deleting the torrent's files leaves unrelated files and the shared destination folder in place. The layout option applies to direct BitTorrent downloads; torrents downloaded through a debrid account keep their existing layout.

Some programs (BitComet, for one) write a torrent's names in another encoding and add a UTF-8 copy of them (`name.utf-8`, `path.utf-8`); VDM shows and saves the files under the UTF-8 names. A torrent like that which was downloading in an earlier version starts those files again under their correct names, and leaves the files with the old names in the folder.

VDM refuses a torrent with file names your system can't write safely, says which name, and writes nothing. What others can see, the network switches in **Torrent settings**, blocklists and proxies: [Torrents and your security](https://vdm.mikaillab.com/th/help/torrent-security.html).

## ระหว่างการดาวน์โหลด

ดับเบิลคลิกทอร์เรนต์ในรายการเพื่อเปิดหน้าต่างความคืบหน้า นอกจากสถานะทั่วไปแล้ว หน้าต่างทอร์เรนต์ยังมี 5 แท็บ:

- **ไฟล์** — แสดงแต่ละไฟล์ ขนาด และความคืบหน้า ไฟล์ที่ยกเลิกการเลือกจะแสดงสถานะ **ข้าม** เลือกหรือยกเลิกการเลือกช่องของไฟล์เพื่อเปลี่ยนไฟล์ที่จะดาวน์โหลดได้ แม้ขณะที่ทอร์เรนต์กำลังทำงาน ต้องเลือกไฟล์ไว้อย่างน้อย 1 ไฟล์ หากยกเลิกการเลือกไฟล์ที่ยังดาวน์โหลดไม่ครบทั้งหมด ทอร์เรนต์จะเสร็จสิ้น หากมีไฟล์กลับมาในทอร์เรนต์ที่เสร็จแล้วและไม่ได้กำลังทำงาน ทอร์เรนต์จะหยุดรอจนกว่าจะดำเนินการต่อ เพื่อไม่ให้ดาวน์โหลดโดยที่ไม่เห็น
- **เพียร์** — คอมพิวเตอร์ที่กำลังดาวน์โหลดไฟล์จาก โดยแสดงปริมาณข้อมูลที่ได้รับจากและส่งไปยังแต่ละเครื่อง
- **Trackers** — ตัวติดตามของทอร์เรนต์ หากไม่มี ตัวติดตามจะมาจาก DHT และเพียร์อื่นๆ
- **ชิ้นส่วน** — แผนที่ชิ้นส่วนของทอร์เรนต์ แสดงว่ามีครบ มีบางส่วน หรือยังขาดอยู่
- **General** — the info hash, pieces, peers, how much was sent, the share ratio, how long it has been shared and the folder. What was sent and the time shared add up over all of the torrent's runs: they don't start again at 0 after a pause or a restart of VDM.

แท็บต่าง ๆ จะยังอยู่หลังดาวน์โหลดทอร์เรนต์เสร็จ ตราบใดที่ยังแชร์อยู่

A file is made when its first byte is downloaded, and only a ticked one is made in the folder: what an unticked file shares with a ticked one waits in VDM's own torrent data. A running torrent keeps only the files it is reading or writing open, a few hundred at most for all of VDM's torrents together (fewer where the system allows fewer, as macOS does), so a torrent of thousands of files runs where it used to fail with "Too many open files".

A stopped torrent keeps none of its files open: you can move, rename or delete them, or open them in another program, while it waits. When you start it again, VDM opens them where they are; a file that was moved away or deleted meanwhile is made again and its pieces downloaded again. A finished torrent that is shared (**Keep sharing torrents after they finish**, in Torrent settings) keeps its files open only to read them: other programs can open, copy, run, move or rename them meanwhile.

แท็บ **ตัวจำกัดความเร็ว** ในหน้าต่างทอร์เรนต์มีตัวเลือก **จำกัดความเร็วการอัปโหลด** นอกเหนือจากขีดจำกัดความเร็วดาวน์โหลด โดยเลือกความเร็วได้ตามต้องการ ขีดจำกัดนี้จะบันทึกไว้กับทอร์เรนต์ และมีผลทุกครั้งที่ทอร์เรนต์ทำงานหรือแชร์ ไม่ว่าจะตั้งค่าอย่างไร ความเร็วของทอร์เรนต์จะไม่ต่ำกว่า 16 กิโลไบต์/วินาที

## คำสั่งทอร์เรนต์

คลิกขวาที่ทอร์เรนต์ในรายการ แล้วเปิด **ทอร์เรนต์**:

- **ตรวจสอบไฟล์อีกครั้ง** — อ่านและตรวจสอบทุกชิ้นส่วนของไฟล์ทอร์เรนต์ เช่น หลังย้ายไฟล์เข้ามาหรือเกิดข้อผิดพลาดกับดิสก์ ทอร์เรนต์ที่กำลังทำงานจะทำงานต่อและดาวน์โหลดส่วนที่ขาดหายไป ส่วนทอร์เรนต์ที่หยุดอยู่จะยังคงหยุด บันทึกเหตุการณ์จะแสดงว่าพบข้อมูลมากน้อยเพียงใด หากชิ้นส่วนเสียหายในทอร์เรนต์ที่ดาวน์โหลดเสร็จแล้ว ทอร์เรนต์จะหยุด และเมื่อดำเนินการต่อก็จะดาวน์โหลดชิ้นส่วนนั้นอีกครั้ง
- **แจ้งตัวติดตามอีกครั้ง** — ขอข้อมูลเพียร์จากตัวติดตามของทอร์เรนต์อีกครั้งทันที แทนที่จะรอรอบถัดไป ใช้ได้ขณะที่ทอร์เรนต์กำลังทำงานหรือแชร์
- **Add trackers...** — adds trackers, one address a line (`http`, `https` or `udp`). They are kept with the torrent, after the ones it has, and the **Trackers** tab shows them. A tracker on your computer or your local network is refused: VDM never contacts those ([why](https://vdm.mikaillab.com/th/help/torrent-security.html)).
- **ดาวน์โหลดตามลำดับ** — ดาวน์โหลดไฟล์ในทอร์เรนต์จากต้นไฟล์ก่อน (ดูด้านล่าง) คลิกอีกครั้งเพื่อกลับไปดาวน์โหลดชิ้นส่วนที่มีอยู่น้อยที่สุดก่อน
- **ชิ้นส่วนแรกและชิ้นส่วนสุดท้ายก่อน** — เมื่อเลือก **ดาวน์โหลดตามลำดับ** ชิ้นส่วนแรกและชิ้นส่วนสุดท้ายของแต่ละไฟล์จะมาก่อนส่วนที่เหลือ ซึ่งเปิดใช้งานโดยค่าเริ่มต้น
- **คัดลอกลิงก์แม่เหล็ก** — คัดลอกลิงก์แม่เหล็กสำหรับทอร์เรนต์ พร้อมตัวติดตาม

ผลลัพธ์ของแต่ละคำสั่งจะอยู่ในบันทึกเหตุการณ์ของทอร์เรนต์; วางเมาส์เหนือเซลล์ **สถานะ** ในรายการเพื่ออ่าน

## ดาวน์โหลดตามลำดับ

By default VDM downloads the pieces that the fewest peers have first, as BitTorrent programs usually do. That way a piece only one peer has is fetched before that peer leaves, and VDM can pass it on to others sooner. On VDM's test swarms it finished just as fast as downloading in order, and it was the only order that finished when a scarce piece's only holder left.

**ดาวน์โหลดตามลำดับ** จะดาวน์โหลดต้นไฟล์ก่อน เพื่อให้ดูวิดีโอระหว่างดาวน์โหลดได้ โดยเปิดวิดีโอในโปรแกรมเล่นเมื่อดาวน์โหลดส่วนแรกเสร็จ เลือกตัวเลือกนี้ใน **เพิ่มทอร์เรนต์** หรือเลือก **ทอร์เรนต์ → ดาวน์โหลดตามลำดับ** จากเมนูคลิกขวาของรายการได้ทุกเมื่อ แม้ขณะกำลังดาวน์โหลด ชิ้นส่วนที่ร้องขอถัดไปจะเป็นไปตามลำดับใหม่

- เมื่อเลือก **ชิ้นส่วนแรกและชิ้นส่วนสุดท้ายก่อน** (เปิดใช้งานไว้เป็นค่าเริ่มต้น) ชิ้นส่วนท้ายๆ ของแต่ละไฟล์จะถูกดาวน์โหลดก่อนด้วย ไฟล์วิดีโอส่วนใหญ่เก็บดัชนีไว้ที่ส่วนท้าย และโปรแกรมเล่นจะอ่านดัชนีก่อนเล่นวิดีโอ
- ไฟล์หลายไฟล์จะถูกดาวน์โหลดทีละไฟล์ โดยเรียงตามชื่อ
- เพียร์ที่ช้ากว่าจะได้รับชิ้นส่วนที่อยู่ถัดไปอีกเล็กน้อย เพื่อไม่ให้การดาวน์โหลดส่วนต้นต้องรอ

การดาวน์โหลดทอร์เรนต์ตามลำดับไม่ได้ทำให้ดาวน์โหลดเสร็จเร็วขึ้น และช่วยสวอร์มน้อยกว่า ใช้วิธีนี้กับไฟล์ที่ต้องการดูตอนนี้

## ฟีด RSS

Many sites publish their new torrents as an RSS or Atom feed. VDM can watch feeds, list what they hold, and add the new torrents you want by itself. Choose **Tasks → RSS feeds...**, or click the arrow next to **Add Torrent**.

[![RSS feeds: the feeds VDM follows and their items](https://vdm.mikaillab.com/help/images/help/rss-feeds.webp)](https://vdm.mikaillab.com/help/images/help/rss-feeds.webp) [![RSS feeds: the feeds VDM follows and their items](https://vdm.mikaillab.com/help/images/help/rss-feeds-dark.webp)](https://vdm.mikaillab.com/help/images/help/rss-feeds-dark.webp)

ฟีด RSS และกฎที่เลือกสิ่งที่จะดาวน์โหลด

แท็บ **ฟีด**:

- Type a feed's address into **Feed address** and click **Add feed**. VDM fetches it at once, then every 30 minutes; change that under **Check feeds every ... minutes**, 5 at the least.
- เลือกฟีดทางซ้ายเพื่อดูบทความ บทความที่มีทอร์เรนต์จะแสดงไอคอนทอร์เรนต์และขนาด หากฟีดระบุไว้ ดับเบิลคลิกบทความ หรือเลือกแล้วคลิก **ดาวน์โหลด...** เพื่อเปิด **เพิ่มทอร์เรนต์** พร้อมข้อมูลนั้น เช่นเดียวกับลิงก์แม่เหล็กหรือที่อยู่ `.torrent`
- **รีเฟรช** จะดึงข้อมูลฟีดที่เลือกทันที ส่วน **เอาออก** จะหยุดติดตามฟีด ฟีดที่อ่านไม่ได้จะแสดงเป็นสีแดง และบรรทัดด้านล่างจะแจ้งสาเหตุ

แท็บ **กฎการดาวน์โหลด**: กฎจะเพิ่มทอร์เรนต์จากบทความใหม่ที่ชื่อตรงกับเงื่อนไขโดยอัตโนมัติ โดยไม่ถาม

- **ต้องมี**: คำทั้งหมดที่ชื่อต้องมี โดยเรียงลำดับใดก็ได้ `|` ใช้คั่นตัวเลือก (`1080p|2160p`) ส่วน `*` และ `?` ใช้แทนอักขระ ไม่แยกตัวพิมพ์เล็กกับตัวพิมพ์ใหญ่
- **ต้องไม่มี**: คำที่ทำให้กฎข้ามบทความ โดยเขียนในรูปแบบเดียวกัน
- **การแสดงออกทั่วไป**: ใช้การแสดงออกทั่วไปแทนในช่องทั้งสอง
- **ตอน**: ระบุตอนที่จะเลือก โดยดูจาก `S01E05` หรือ `1x05` ในชื่อ `1x2` หมายถึงซีซัน 1 ตอน 2, `1x5-8` หมายถึงตอนที่ 5 ถึง 8, `2x1-` หมายถึงทุกตอนตั้งแต่ซีซัน 2 ตอน 1 เป็นต้นไป และ `3` หมายถึงทุกตอนของซีซัน 3 คั่นรายการด้วย `;` เว้นว่างไว้เพื่อเลือกทุกบทความ กฎจะเลือกแต่ละตอนเพียงครั้งเดียว โดยจะข้ามการเผยแพร่ตอนที่เพิ่มไปแล้ว
- **บันทึกไปที่**: โฟลเดอร์สำหรับบันทึกทอร์เรนต์ หากเว้นว่างไว้ จะใช้โฟลเดอร์ของหมวดหมู่ทอร์เรนต์ **เพิ่มโดยไม่เริ่ม** จะเพิ่มทอร์เรนต์เหมือนกับเลือก **ดาวน์โหลดภายหลัง**
- **ฟีด**: ฟีดที่จะติดตาม หากไม่เลือกฟีด จะติดตามทั้งหมด

Rules only look at articles that are new since the feed was last fetched, and a feed's first fetch only lists what is there. So adding a feed or a rule never downloads a whole backlog. **Matches ... articles now** shows which of the articles the feeds hold now the rule matches, to check it; download those by hand. A torrent the list already has isn't added again, and neither is one whose files are already in the folder: VDM never writes into files it didn't make without asking. The bottom line of the tab says what the rules did last, and a torrent a rule added says so in its event log.

Feeds and rules are kept in `rss.json` in VDM's data folder. VDM reads at most 5 MB of a feed.

## การตั้งค่าทอร์เรนต์

เลือก **Tasks → Torrent settings...** (หรือลูกศรข้าง **Add Torrent**):

[![การตั้งค่าทอร์เรนต์: การแชร์ ขีดจำกัด และสิ่งที่ผู้อื่นสามารถเห็นได้](https://vdm.mikaillab.com/help/images/help/torrent-settings.webp)](https://vdm.mikaillab.com/help/images/help/torrent-settings.webp) [![การตั้งค่าทอร์เรนต์: การแชร์ ขีดจำกัด และสิ่งที่ผู้อื่นสามารถเห็นได้](https://vdm.mikaillab.com/help/images/help/torrent-settings-dark.webp)](https://vdm.mikaillab.com/help/images/help/torrent-settings-dark.webp)

งาน → การตั้งค่าทอร์เรนต์...

- **แชร์ทอร์เรนต์ต่อไปหลังจากดาวน์โหลดเสร็จสิ้น** — ปิดไว้โดยค่าเริ่มต้น: ทอร์เรนต์ที่ดาวน์โหลดเสร็จแล้วจะหยุดทำงานเหมือนกับการดาวน์โหลดทั่วไป เปิดตัวเลือกนี้เพื่ออัปโหลดให้เพียร์รายอื่นต่อไปหลังจากดาวน์โหลดเสร็จ
- **หยุดการแชร์เมื่ออัตราส่วนการแชร์ถึง** — ทอร์เรนต์ที่ดาวน์โหลดเสร็จแล้วจะหยุดการแชร์เมื่อได้ส่งข้อมูลออกไปเป็นจำนวนเท่าของข้อมูลที่มีอยู่ (2.00: สองเท่า) ปิดใช้งานโดยค่าเริ่มต้น
- **หยุดการแชร์หลังจากแชร์เป็นเวลา … นาที** — หรือหยุดเมื่อแชร์ครบเวลาที่กำหนด โดยนับรวมทุกครั้งที่ทำงาน ปิดไว้โดยค่าเริ่มต้น

A torrent stopped by one of these says so in its event log, and isn't shared again when VDM starts. Raise or turn off the limit to share it again. - **Limit uploading for all torrents to** — off by default. Caps what all your torrents together send to other peers, while they download and while they share. A torrent's own upload limit, in its progress window, applies on top of it. - **Open magnet links and .torrent files with Volt Download Manager** — Windows then opens magnet links in your browser and `.torrent` files in Explorer with VDM. This is for your Windows account only. It also lists VDM in Windows' **Settings → Apps → Default apps** for `MAGNET` and `.torrent`. A program already chosen there (or in **Open with**) stays first, because Windows lets only you change that choice: when you turn the setting on and Windows still opens them with another program, VDM says which and opens its own **Default apps** page, where you set **MAGNET** and **.torrent** to Volt Download Manager. Firefox can keep a choice of its own for magnet links: when **magnet** is listed in its **Settings → General → Applications**, set its action to Volt Download Manager (shown as the default once Windows has it) or to **Always ask**. The setup can turn it on for you. It also decides whether the browser hands `.torrent` downloads to VDM: off, they stay with the browser for your own torrent program, even with `TORRENT` in **Options → File types**. It starts as you chose in the setup; a portable copy, or an VDM updated from an earlier version, starts with it on when your system already opens `.torrent` files with this VDM (or you had ticked it), off otherwise. From then on it stays as you leave it. On Linux it makes VDM your desktop's default app for them; on macOS, their default app (Finder offers VDM in **Open With** for `.torrent` files either way, and a double-click opens them in VDM when no other app is their default).

- **Connect over uTP too (UDP)** — on by default. uTP is BitTorrent over UDP. Many peers (qBittorrent's, µTorrent's, Transmission's and others) take uTP, and some take nothing else: without it, VDM can't reach those, and a torrent with few peers may find almost none. VDM tries TCP first and uTP when TCP doesn't answer within a second, on the same port it listens on, so uTP needs **Accept incoming connections** on. A SOCKS5 proxy carries only TCP, so with **Use the proxy** on, uTP is off. A chosen network adapter holds uTP's socket too.
- **Add the trackers of this public list to public torrents** — off by default. While it is on, every public torrent also asks the trackers of a public tracker list, so it finds peers sooner, above all an old torrent whose own trackers have gone quiet: the ones you add from then on, and those already in your list (once, when you turn it on). The list is [ngosang/trackerslist](https://github.com/ngosang/trackerslist)'s best trackers unless you type another address in the box (one tracker per line). VDM fetches it with its own downloader, through your proxy and network adapter, once a day (an hour later when a fetch failed), and keeps the last good copy: a new torrent never waits for it, and takes the list as last fetched. When a newer list brings new trackers, each torrent gets those too. A **private torrent** (one from a private tracker, marked so inside the torrent) never gets them: it may only ask its own trackers. Turning it off doesn't take away the trackers already added. Each torrent's **Trackers** tab shows them, and its event log says how many were added. `voltdownloadmanager-cli torrent-get` follows the same switch.

หน้าต่างเดียวกันนี้มีสวิตช์เครือข่าย (การเชื่อมต่อขาเข้า, พอร์ต, UPnP, uTP, DHT, พร็อกซี SOCKS5), บล็อกลิสต์ และรายการตัวติดตามสาธารณะ: ดู [ทอร์เรนต์และความปลอดภัยของคุณ](https://vdm.mikaillab.com/th/help/torrent-security.html)

VDM starts its torrent engine the first time you add a torrent. If you never use torrents, it never listens for peers.

When the network comes back after a drop (Wi-Fi reconnecting, the computer waking from sleep, a VPN connecting or switching), VDM notices within a few seconds and calls the torrents' peers again at once, and asks their trackers and the DHT again, so a download picks up where it was instead of waiting minutes for each peer's next try. Each peer is called once for it; a tracker is still never asked sooner than its minimum interval. Behind a SOCKS5 proxy, a drop the computer itself doesn't see (the router losing its line while Wi-Fi stays up) is noticed only through the DHT, which is off there, so those torrents come back on their own, as before.

To find peers without trackers, VDM joins the DHT through four public routers (`dht.libtorrent.org`, `dht.transmissionbt.com`, `router.bittorrent.com` and `router.utorrent.com`); any one that answers is enough. It keeps the DHT nodes it found for the next start, so later starts don't depend on those routers.

VDM's log (`logs\vdm.log` in [VDM's data folder](https://vdm.mikaillab.com/th/help/crash-reports.html#where-reports-are-kept)) says where it listens, for example `torrents: listening for peers on TCP and uTP (UDP) port 51413 (every address, IPv4 and IPv6: [::]:51413)`. That is one socket for IPv4 and IPv6 (and one UDP socket for uTP), so on Windows `netstat -ano -p tcp` (IPv4 only) doesn't list it; `netstat -ano` or `Get-NetTCPConnection -State Listen` does, under `[::]` or `::` (and `Get-NetUDPEndpoint` the uTP one).

On a Linux system without CA certificates (a minimal install without the `ca-certificates` package), torrents still work: peers, the DHT and `http://` trackers. An `https://` tracker can't be checked there, so VDM skips it; install that package to use those too.

With a debrid account, torrents and magnet links can go to the service instead of to peers, and VDM downloads the files from it over HTTP: see [Torrents through the service](https://vdm.mikaillab.com/th/help/debrid.html#torrents-through-the-service).

## ขั้นตอนถัดไป

- [คิวและตัวจัดกำหนดการ →](https://vdm.mikaillab.com/th/help/queues-and-scheduler.html)
- [ดาวน์โหลดวิดีโอ →](https://vdm.mikaillab.com/th/help/video.html)
- [รายการดาวน์โหลด →](https://vdm.mikaillab.com/th/help/download-list.html)

## ที่เกี่ยวข้อง

- [ดาวน์โหลดวิดีโอ](https://vdm.mikaillab.com/th/help/video.html)
- [แกลเลอรีรูปภาพ](https://vdm.mikaillab.com/th/help/galleries.html)
- [ทอร์เรนต์และความปลอดภัยของคุณ](https://vdm.mikaillab.com/th/help/torrent-security.html)
- [บัญชีบริการ Debrid](https://vdm.mikaillab.com/th/help/debrid.html)

[แก้ไขหน้านี้บน GitHub](https://github.com/mikailhossenimran/voltdownloadmanager/edit/main/docs/torrents.md) [รายงานปัญหาเกี่ยวกับหน้านี้](https://github.com/mikailhossenimran/voltdownloadmanager/issues/new?template=website.yml&title=Website%3A%20Torrents&page=https%3A//vdm.mikaillab.com/help/torrents.html) [ประวัติหน้า](https://github.com/mikailhossenimran/voltdownloadmanager/commits/main/docs/torrents.md)

ฟรี, โอเพนซอร์ส, ไม่มีโฆษณา, ไม่มีช่วงทดลองใช้

[Download Volt Download Manager](https://vdm.mikaillab.com/th/download.html)
