Please login or register. November 14, 2018, 04:24:49 AM

Author Topic: curl: (1) Protocol "sftp" no longer disabled in libcurl  (Read 1122 times)

0 Members and 1 Guest are viewing this topic.

hammertime

  • Registered
  • *
  • Posts: 1
  • Karma: +0/-0
curl: (1) Protocol "sftp" no longer disabled in libcurl
« on: December 05, 2017, 09:24:04 AM »
Michael has already fixed this by configuring sftp support into the build options.  I list the error below to document it in case anyone else is using an older version of curl or one from another site.

Failure:
[localhost]:/root> /opt/bin/curl sftp://xxx/root/testfile  -u root -k
Enter host password for user 'root':
curl: (1) Protocol "sftp" not supported or disabled in libcurl


Fixed:
[localhost]:/root> /opt/bin/curl sftp://xxx/root/testfile  -u root -k
Enter host password for user 'root':
Hello World!


Thanks again @michael for your prompt reply and fix!
« Last Edit: December 06, 2017, 12:23:55 PM by Michael »