cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: ssh custom port

From: Freek de Kruijf <f.de.kruijf_at_gmail.com>
Date: Tue, 19 Jul 2016 00:17:21 +0200

Op maandag 18 juli 2016 17:57:03 schreef el kalin:
> sorry.... i didn't see the first part of your reply...
>
> i tried that too... the sftp://host/upload/test.txt part:
>
> # curl -vvvv -T test.txt -u user:pass --insecure sftp://
> remote.host.com:10022/upload/test.txt

Shouldn't you leave out test.txt in the last line. In my view you only need to
specify the folder the file goes to.

-- 
fr.gr.
Freek de Kruijf
-------------------------------------------------------------------
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