cURL / Mailing Lists / curl-users / Single Mail

curl-users

SFTP transfer curl 7.29.0

From: Nikita Michalko <michalko.system_at_a-i-p.com>
Date: Thu, 14 Mar 2013 12:21:26 +0100

Hi list,

I'm new to curl - this is my first post ...
Maybe had someone already reported/asked this, so excuse me pls

So:
OS: SLES 11-SP1
Kernel: 2.6.32.45-0.3-default #1 SMP x86_64 GNU/Linux
Version of curl (from source):
curl 7.29.0 (x86_64-unknown-linux-gnu) libcurl/7.29.0 OpenSSL/0.9.8h zlib/1.2.3
libssh2/0.19.0-20080814
Protocols: dict file ftp ftps gopher http https imap imaps pop3 pop3s rtsp scp sftp smtp
smtps telnet tftp
Features: IPv6 Largefile NTLM NTLM_WB SSL libz

I'm trying to transfer files with SFTP:

curl -v -T /tmp/TESTDATEI -u ubit:PASSWORD sftp://ubis4demo/tmp/

-> without success though:

* About to connect() to ubis4demo port 22 (#0)
* Trying 1xx.xx.xx.xx...
  % Total % Received % Xferd Average Speed Time Time Time Current
                                 Dload Upload Total Spent Left Speed
  0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0*
 Connected to ubis4demo (1xx.xx.xx.xx) port 22 (#0)
* SSH MD5 fingerprint: e7a3fa75d4ea1c41725c0e20adb44547
* SSH authentication methods available: publickey,keyboard-interactive
* Using ssh public key file /root/.ssh/id_dsa.pub
* Using ssh private key file /root/.ssh/id_dsa
* SSH public key authentication failed: Unable to open public key file
* Initialized keyboard interactive authentication
* Authentication complete
} [data not shown]
^C
-> here is curl hanging, after transferring exactly 16384 Bytes (file /tmp/TESTDATEI has
only about 20KB).

It is a bug, or I'm missing something?

TIA!

Nikita Michalko

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-03-14