[ale] get vs. mget (FTP)

Pete Hardie pete.hardie at gmail.com
Wed Apr 2 17:15:04 EDT 2008


2008/4/2 Jerry Yu <jjj863 at gmail.com>:
> 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?


Does 'mget .*' (or a similar RE) get the correct files?

>
> _______________________________________________
>  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