curl-library
Re: libcurl: SFTP return quote command failure (21)
Date: Tue, 26 Feb 2013 10:17:41 -0700
On Feb 26, 2013, at 12:24 AM, chu ngoc hung <hungcn_at_gmail.com> wrote:
> I looked at in the man page and saw that: The valid SFTP commands are: chgrp, chmod, chown, ln, mkdir, pwd, rename, rm, rmdir, symlink. But I don't know the exact command to list file in a directory.
> Can you help me to point it?
It's been a while, but I think all you have to do is use the path to the directory in the URL, and you ought to get back a directory listing… That's how FTP and Gopher work, so it ought to work the same way with SFTP.
Nick Zitzmann
<http://www.chronosnet.com/>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2013-02-26