curl / Mailing Lists / curl-users / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: What Am I Doing Wrong With cURL and SFTP?

From: Daniel Stenberg via curl-users <>
Date: Tue, 25 Aug 2020 12:48:39 +0200 (CEST)

On Tue, 25 Aug 2020, Michael Newman wrote:

> If I use sftp all by itself, it seems to default to my home directory:
> But, if I use curl with sftp, I have to tell it to go to my home directory:
> curl -u mgnewman: --pubkey ~/.ssh/ s
> Why the difference?

There's a very important key difference here: curl works on URLs, the sftp
command line tool does not.

  / | Commercial curl support up to 24x7 is available!
                   | Private help, bug fixes, support, ports, new features
Received on 2020-08-25