[ale] get vs. mget (FTP)

JK jknapka at kneuro.net
Wed Apr 2 23:57:52 EDT 2008


Pete Hardie wrote:
> On Wed, Apr 2, 2008 at 10:02 PM, Jerry Yu <jjj863 at gmail.com> wrote:
>> 'mget *' did get correct files. However, it was absolute-pathed in the
>>  'RETR' command sent to the server.
>>
>>  The only difference I can see is that 'get blah.txt' sent
>>  relative-pathed name in the 'RETR"
>>
>>  Either command has correct file. '550' error was returned for the
>>  absolute-pathed file. Guess I can try different ftps clients till I
>>  get one, which sends relative file name for 'mget *'.  GNU ftp client
>>  is one.
> 
> I was positing that the * was triggering the path part, while [a-z]*
> might not get the path part.

It's not REs, it's shell globbing.  Same basic idea, but different
syntax, and more limited.

-- JK

-- 
I do not particularly want to go where the money is -
  it usually does not smell nice there. -- A. Stepanov


More information about the Ale mailing list