cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: ssh custom port

From: Norton, Mike <mikenorton_at_pwsd76.ab.ca>
Date: Mon, 18 Jul 2016 22:25:23 +0000

According to Curl manpage, filename can be specified, or folder name can be specified with trailing slash. So either should work.

When you used Curl you were trying to upload to the "/upload" folder. But when you used the sftp utility, you were uploading to the "/home/user/upload" folder. So the reason one works but one doesn't is because you are using two different paths. Use the correct path and Curl will probably work.

-mn

-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-users
FAQ: https://curl.haxx.se/docs/faq.html
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2016-07-19