Send a file to an FTP server.
Section: Uploads
Upload a file over FTP
bash
bash
curl -u user:pass -T ./site.zip ftp://example.com/incoming/site.zipExplanation
Classic FTP upload pattern.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing Uploads
Append to a remote file
Append uploaded data when the protocol and server support it.
Retry on all errors
Retry on all errors, including transient HTTP failures when appropriate.