Date: Sun, 7 Oct 2007 12:51:26 -0400
I have benefited from cURL in prior projects many times... However, it
appears sftp support is still experimental and buggy and its been a waste of
my time to figure this out. The only success I have had is with the command
line version on fedora6.
The error messages are also not helpful such as "curl: (78) Could not open
remote file for reading: No such file or directory" when the same url "
sftp://curluser:curlpassword@localhost/hello.txt" request works fine with a
sftp client. I have spent a couple days testing sftp support in
v7.17.0with various ssh2 libs and dependencies and also modifying php
5.2.4 source to use new AUTH flags,and looking at server ssh logs but it
appears the core issues are in the curl implementation.
Has anyone had success? Can you provide a C example and an ldd output for
libcurl? If not, sftp should be removed from curl supported protocols until
its more robust, better documented and good test cases and error messages
Received on 2007-10-07