cURL / Mailing Lists / curl-library / Single Mail


replace psftp for curl.exe

From: Hilgersom, Danny <>
Date: Wed, 2 Jul 2014 13:35:35 +0000


We are using curl.exe as a command line tool on the Windows platform. For SSH FTP connections we use psftp.exe. We want to simplify our ftp tooling and therefore we want to use curl also as our primary SSH FTP tool. Form what I could find, you need to locate the public key at the server side. With Ppsftp this is not necessary. Could someone confirm this for me?

Below is the command line we use when using psftp.exe:

psftp.exe" -v -batch -i C:\Temp\testkey.ppk -pw <ourpass> -b "C:\Temp\filestoupload.txt" <user>@<host>.com

Also, could someone with more knowledge then I have convert this command line into the command line which I should use for curl.exe?

Help is much appreciated.



The information included in this message is personal and/or confidential and intended exclusively for the addressees as stated. This message and/or the accompanying documents may contain confidential information and should be handled accordingly. If you are not the intended reader of this message, we urgently request that you notify Centric immediately and that you delete this e-mail and any copies of it from your system and destroy any printouts immediately. It is forbidden to distribute, reproduce, use or disclose the information in this e-mail to third parties without obtaining prior permission from Centric. We expressly point out that there are risks associated with the use of e-mail. Centric and the companies within the group shall not accept any liability whatsoever for damage resulting from the use of e-mail. Legally binding obligations can only arise for Centric by means of a written instrument, signed by an authorized representative of Centric.

List admin:
Received on 2014-07-02