DigiNews

Tech Watch by Johan Denoyer

← Back to articles

a filename when none exists

Quality: 9/10 Relevance: 9/10

Summary

Daniel Stenberg explains curl's -O option and how it handles filenames when the URL has no filename. Starting with curl 8.10.0, curl derives a filename from the URL path or falls back to a neutral default curl_response, with -o and -J available for user-specified names and --no-clobber to avoid overwriting. The post includes examples and guidance on clobbering behavior.

🚀 Service construit par Johan Denoyer