[ale] get vs. mget (FTP)

Jerry Yu jjj863 at gmail.com
Wed Apr 2 22:02:56 EDT 2008


'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.



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


More information about the Ale mailing list