cURL
Download Commands
Download files, resume interrupted transfers, and upload data with cURL. Learn efficient techniques for handling large files, multipart uploads, and FTP/SFTP transfers.
10 commands
Pro Tips
Use 'curl -C - -O url' to resume a broken download. The '-C -' flag auto-detects the offset.
Use 'curl -F "file=@photo.jpg" url' for multipart file uploads, just like an HTML form.
Limit download speed with '--limit-rate 1M' to avoid saturating your network.
Common Mistakes
Piping curl to shell ('curl url | sh') is dangerous — always inspect scripts before executing them.
Use '-L' to follow redirects when downloading. Many URLs redirect and without it you'll get an empty or HTML file.