Skip to content

Instantly share code, notes, and snippets.

@82O7
82O7 / QFT.js
Last active October 18, 2025 10:11
A simple program to help transferring files between devices in a LAN network
/**
* QFT = Quick file transfer
* For transferring big files between devices in LAN at high speed
* Usage: node QFT.js address[:port] file [flags]
* Flags:
* "u": Use UTC time zone for date-time in output logs
* "d": Enable debug mode which will log minimal information about traffic into terminal
* Notes:
* Use DevTools debugger for Node.js to see more debug information (Remember to include "--inspect")
* Use environment variable "HIGH_WATERMARK" to change transfer speed in byte unit (Default: 50MB)