curl-library
Re: Curl sftp question...
From: James Housley <jim_at_thehousleys.net>
Date: Tue, 26 Jun 2007 15:15:05 -0400
Date: Tue, 26 Jun 2007 15:15:05 -0400
On Jun 26, 2007, at 2:19 PM, Joe Ebmeier wrote:
>> For example the ftp protocol is based on the directory you
>> login to. Where sftp is based on the whole file system. For example
>> to get the listing of the home directory for a user would be
>>
>> curl -l -u interact:password sftp://javadev2.interact.nonreg/~/
>
> Right, I understand that sftp is based on the whole file system,
> but the -l
> option doesn't appear to work for sftp - as it outputs absolutely
> nothing.
Actually it does. Without "-l" all of the information about the
files are displayed. With "-l" only the name is shown.
Unfortunately it also only list directories, which I just committed
the fix for.
Jim
--
/"\ ASCII Ribbon Campaign .
\ / - NO HTML/RTF in e-mail .
X - NO Word docs in e-mail .
/ \ -----------------------------------------------------------------
http://www.FreeBSD.org The Power to Serve
jim@TheHousleys.Net http://www.TheHousleys.net
---------------------------------------------------------------------
A: Yes.
| Q: Are you sure?
| | A: Because it reverses the logical flow of conversation.
| | | Q: Why is top posting frowned upon?
Received on 2007-06-26