>_
linuxcommand.dev
Home
Roadmap
Contact
EN
Dark
>_
>_
linuxcommand.dev
Home
Roadmap
Contact
Legal Notice
Privacy Policy
Language
DE
EN
Design
Dark
Startseite
›
Downloading Files Server
Netcat
Downloading Files Server
Server-side functionality for file downloads.
Ubuntu
CentOS
Debian
Arch
SUSE
Slackware
Alpine
Fedora
Last updated:
2025-10-07
Report error
Syntax
Copy
$
nc -l -p [port] < [file]
Examples
Examples
$
nc -l -p 8888 < data.txt
Typical use cases
Send file as server
nc -l -p port < file
Note
File download server.
Export
Text
JSON
Script