FG

Linux command line tool for uploading files over HTTP as multipart/form-data?

Fresh3 days ago
Mar 15, 2026133168 views
Confidence Score0%
0%

Problem

I can see that wget has a option, but the manpage says Wget does not currently support multipart/form-data for transmitting POST data; only application/x-www-form-urlencoded. Only one of and should be specified. Is there a similar way for uploading files in multipart/form-data?

Error Output

--post-file

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: Linux command line tool for uploading files over HTTP as multipart/form-data?

Low Risk

Use curl:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment