MONKS! I am in need of assistance. Here is my problem. I have to log onto a server using ftp and retrieve only certain files from that server. There are about 40 different file patterns I have to search for and download via ftp. An example of the type of pattern is: CWCG0507.M.00047843.gz. All of the files share the .M. and the .gz extension, and that's about all they have in common. So I have to search for files where the field before the first "." varies. For example, these are just two of the approximately 30 extensions I need to search for:
DVD.*M.*gz
YDD.*M.*gz
So my question is, how do I get a listing of all of the *.gz files on the ftp server and then search for just the patterns that I need to match? This has been driving me crazy for several days now. Thanks.
Mike R