From: Ben Lovell Date: 2009-04-26T04:28:47+09:00 Subject: Re: net/ftp --0016e6d27c900f78f60468661f47 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Sat, Apr 25, 2009 at 8:20 PM, Giampaolo Rodola' wrote: > On 24 Apr, 21:45, Ben Lovell wrote: > > [Note: parts of this message were removed to make it a legal post.] > > > > On Fri, Apr 24, 2009 at 7:14 PM, Joe Gutierrez > wrote: > > > There's a method in Ruby's net/ftp library called list/ls. Does anyone > have > > > a list (or can someone point me to a place that has a list) of all > possible > > > arguments that you can pass to ls? > > > -- > > > Joseph Gutierrez > > > > You can pass anything you want as it isn't checked. I don't think the FTP > > protocol actually specifies any arguments for LIST/LS. If you're asking > > which arguments are going to actually produce a meaningful result, I'm > not > > sure where to point you. > > > > Regards, > > Ben > > FTP's LIST, NLST, MLSD and MLST commands accept an argument which > represents the *path*. > If you send something like "LIST foo" the content of the directory > "foo" will be returned. > > > --- Giampaolo > http://code.google.com/p/pyftpdlib/ > > Of course it does. I should have been clearer in my response :) Apart from the obvious path argument, I'm not aware of any others ;) Ben --0016e6d27c900f78f60468661f47--