curl-users
Re: Post File to HTTPS via cURL at command line
From: Amy Petri <Apetri_at_geneoswealth.com>
Date: Wed, 15 Jun 2005 09:18:58 -0600
Date: Wed, 15 Jun 2005 09:18:58 -0600
Thank you thank you thank you thank you!!! Those three blocks worked perfectly! My file uploaded! Did I mention I had been beating my head about this cURL stuff for months (like 4 or 5 months). I really really appreciate all the help!!!
Amy
curl -b cookies -c cookies -d
"user=username&password=password&switch=Log+In"
https://www.somesite.com/template/login
curl -b cookies -c cookies "https://www.somesite.com/incoming/?T"
curl -b cookies -c cookies -F File=@test.txt https://www.somesite.com/incoming
Received on 2005-06-15