Hi Brian,

Not sure if it's the mailing list software, or if it's your e-mail client,
but the message is not formatted correctly.   You're including HTML codes
(which is fine) but the message is marked as the default (text/plain)
rather than HTML.

Take a look at how your message looks in the archives to see what I mean:

The FTP standard does not allow multiple files to be specified on the
"GET" (actually, RETR) command.  GET is purely for the purposes of
retreving a single file at a time, so you cannot use wildcards.

Your options are to use MGET, and then use CPYF or CPYFRMSTMF to move them
all into a single member, or to write a program which understands what you
want to do, and does it.

Using my FTPAPI (which is a no-cost/open-source utility) you could write
a program that does what you want to do.   Just do a directory listing to
an array, then loop through the array and tell it to get each file in turn.

If that interests you, take a look here:

On Wed, 19 Nov 2003, Brian Eckenrod wrote:
> Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" 
> CONTENT="text/html; charset=utf-8"></HEAD><BODY>
<DIV>Hi everyone.&nbsp; This is my first post so I am hoping I am sending this
to the correct list :-)</DIV>
<DIV>I am atempting to connect from an AS400 to a UNIX machine to bring back
several files.&nbsp; My goal is to bring back several files in to one file on
the AS400.&nbsp; I have been able to successfully do this from NT based FTP
servers in the past by using the command:</DIV>
<DIV>GET&nbsp;&nbsp; *.DAT&nbsp;&nbsp;&nbsp; MYFILE.MYMBR&nbsp;&nbsp;
<DIV>In this instance I always get back the following error:</DIV>
<DIV>"550 *.dat: A file or directory in the path name does not exist. "</DIV>
<DIV>But performing a DIR command shows:</DIV>
<DIV>"-rw-r--r--&nbsp;&nbsp; 1 root&nbsp;&nbsp;&nbsp;&nbsp;
spl&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 4100 Nov 12 11:48
<DIV>I could perform an MGET, but I'd rather not because of the back end
application being set to read data from Myfile.Mymbr.</DIV>
<DIV>So, I am looking for some guidance/expertise on this one as I am about
ready to jump off the nearest bridge.</DIV>
<DIV>Thanks all,</DIV>

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2020 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].