[ale] get vs. mget (FTP)

Jerry Yu jjj863 at gmail.com
Wed Apr 2 23:03:17 EDT 2008


oh. same results when I tried 'mget 2008*' as well as 'mget *blahblah*',
when the full name is 20080401.blahblah.txt

On Wed, Apr 2, 2008 at 10:56 PM, Pete Hardie <pete.hardie at gmail.com> 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.
>
>
> >
> >
> >
> >
> >
> >  On 4/2/08, Jerry Yu <jjj863 at gmail.com> wrote:
> >  > I am using a java ftps client to fetch files from a FTPS server
> >  > (Connect::Enterprise FTP server 2.1.xx).  Same results when I logged
> in
> >  > interactively or by simple ftp batch.
> >  >
> >  > Here is the situation.
> >  >
> >  >    - 'get blah.txt' went successfully  with 226 return code.
> >  >    - 'mget *' returned 'server 550 error' for each file (single file
> or
> >  >    multiple)
> >  >
> >  > up debug level, I noticed that 'get blah.txt' sent 'RETR blah.txt',
> while
> >  > 'mget *' sent 'RETR /mydefaulthomedir/blah.txt' to the server.
> >  > 'pwd' showed that I am at /mydefaulthomedir right after I signed in,
> (or cwd
> >  > is done).
> >  >
> >  > Any idea how I can ask this FTP client to send 'RETR blah.txt' for
> mget as
> >  > well, unless forbidden by RFC?
> >  >
> >
> >  --
> >  Sent from Gmail for mobile | mobile.google.com
> >
> >
> > _______________________________________________
> >  Ale mailing list
> >  Ale at ale.org
> >  http://mail.ale.org/mailman/listinfo/ale
> >
>
>
>
> --
> Pete Hardie
> --------
> Better Living Through Bitmaps
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://mail.ale.org/mailman/listinfo/ale
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20080402/e7d4d5aa/attachment.html 


More information about the Ale mailing list