Re: grep with ftp

2003-09-11 Thread R. Joseph Newton
Dan Muey wrote: > > But the subject says grep? :) I see. It is a mailer problem. If you follow the thread you will see that this response was focused on Bob's comment concerning gep on file-names. I assumed here that the question concerned not the specific name of the function, but the logic

RE: grep with ftp

2003-09-09 Thread Dan Muey
> > > > Johnson, Shaunn wrote: > > > > > Howdy: > > > > > > > > > > I'm looking for information that will let me > > > > > open an ftp connection and grep / search > > > > > for files and then FTP them back to me. > > > > > > > > What do you mean "grep/search" for files? If you want to search > >

Re: grep with ftp

2003-09-08 Thread R. Joseph Newton
Dan Muey wrote: > > Bob Showalter wrote: > > > > > Johnson, Shaunn wrote: > > > > Howdy: > > > > > > > > I'm looking for information that will let me > > > > open an ftp connection and grep / search > > > > for files and then FTP them back to me. > > > > > > What do you mean "grep/search" for file

RE: grep with ftp

2003-09-08 Thread Dan Muey
> Bob Showalter wrote: > > > Johnson, Shaunn wrote: > > > Howdy: > > > > > > I'm looking for information that will let me > > > open an ftp connection and grep / search > > > for files and then FTP them back to me. > > > > What do you mean "grep/search" for files? If you want to search for > > p

Re: grep with ftp

2003-09-07 Thread R. Joseph Newton
Bob Showalter wrote: > Johnson, Shaunn wrote: > > Howdy: > > > > I'm looking for information that will let me > > open an ftp connection and grep / search > > for files and then FTP them back to me. > > What do you mean "grep/search" for files? If you want to search for > particular file *names*,

RE: grep with ftp

2003-08-28 Thread Dan Muey
> Howdy: Howdy > > I'm looking for information that will let me > open an ftp connection and grep / search > for files and then FTP them back to me. > Yout can use the ls function to get an array of file names in that folder and grep the names. Unless you have a unique ftp server on the rem

RE: grep with ftp

2003-08-28 Thread Bob Showalter
Johnson, Shaunn wrote: > Howdy: > > I'm looking for information that will let me > open an ftp connection and grep / search > for files and then FTP them back to me. What do you mean "grep/search" for files? If you want to search for particular file *names*, Net::FTP can return a list of files an

Re: grep with ftp

2003-08-28 Thread Jeff 'japhy' Pinyan
On Aug 28, K Old said: >@filelist = grep{/[e|f][d|m|v|s].ic$/} $ftp->ls($path); You probably means @filelist = grep { /[ef][dmvs]\.ic$/ } $ftp->ls($path); since character classes don't use | for alternation, and . is a metacharacter in a regex. -- Jeff "japhy" Pinyan [EMAIL PROTECTED]

Re: grep with ftp

2003-08-28 Thread K Old
On Thu, 2003-08-28 at 10:34, Johnson, Shaunn wrote: > Howdy: > > I'm looking for information that will let me > open an ftp connection and grep / search > for files and then FTP them back to me. > > I saw something about FTP and macros, but > the other articles about Net::FTP got me to > believ

RE: grep with ftp

2003-08-28 Thread Hanson, Rob
> Is this possible? I'm no expert of FTP software, so I can't say if that is generally possible, but it will depend on what the FTP server software allows you to do. So I would start there, find out what software they are running, then find some documentation on it. Rob -Original Message---