Answers for "send file with curl"

1

curl data from file

curl -i -X POST host:port/post-file 
  -H "Content-Type: text/xml" 
  --data-binary "@path/to/file"
Posted by: Guest on December-02-2020
0

linux curl upload file ftp

# curl -T backup-file.tar.gz ftp://username:[email protected]/backup/
Posted by: Guest on October-16-2020

Browse Popular Code Answers by Language