|
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: http://archive.midrange.com/midrange-l/200311/msg00998.html 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: http://www.scottklement.com/ftpapi/ On Wed, 19 Nov 2003, Brian Eckenrod wrote: > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 > Transitional//EN"><HTML><HEAD><META HTTP-EQUIV="Content-Type" > CONTENT="text/html; charset=utf-8"></HEAD><BODY> <DIV>Hi everyone. This is my first post so I am hoping I am sending this to the correct list :-)</DIV> <DIV> </DIV> <DIV>I am atempting to connect from an AS400 to a UNIX machine to bring back several files. My goal is to bring back several files in to one file on the AS400. I have been able to successfully do this from NT based FTP servers in the past by using the command:</DIV> <DIV> </DIV> <DIV>GET *.DAT MYFILE.MYMBR (REPLACE</DIV> <DIV> </DIV> <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> </DIV> <DIV>But performing a DIR command shows:</DIV> <DIV>"-rw-r--r-- 1 root spl 4100 Nov 12 11:48 test1.dat"</DIV> <DIV> </DIV> <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> </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> </DIV> <DIV>Thanks all,</DIV> <DIV>Brian</DIV></BODY></HTML>
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 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].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.