Not sure if it’s possible but I’ve been trying to use curl to essentially download a file from a HTTP location and output it onto an FTP server. I would really like some help if this is in fact possible.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
By default curl spits its output to stdout – we then pipe that into another instance of curl.
On the second instance,
-Ttells curl to upload a file, and the-tells it to take the file data from stdin (rather than from a file on disk).