[ale] get vs. mget (FTP)

Pete Hardie pete.hardie at gmail.com
Wed Apr 2 22:56:36 EDT 2008


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


More information about the Ale mailing list