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
> > > > 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
> >
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
> 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
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*,
> 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
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
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]
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
> 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---
10 matches
Mail list logo