Well, that didn't work, unfortunantly. 
I'm pretty much stumped!

If anyone knows the answer... Please HELP me!!!
Thanks

P.S. Thanks for the suggestions Rex.

-----Original Message-----
From: Rex Arul [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 4:37 PM
To: Joshua Colson
Subject: Re: Net::FTP


I might sound silly...Did you try this:

if( $ftp->get( qq($file), "${directory}/${file}" ) ) {
     print "it worked...";
}

I am not very confident on this though, because my expectation is this is
the default behavior even if you do not give the qq($file). But give it a
shot.


----- Original Message -----
From: "Joshua Colson" <[EMAIL PROTECTED]>
To: "'Rex Arul'" <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 7:29 PM
Subject: RE: Net::FTP


> I've tried that... If I use quotemeta() it still doesn't work.
> In fact, one of the files is named '12329099.$$$' which seems to work
> without quotemeta, but with it, that breaks.  Then one has spaces in it,
and
> it just plain old doesn't work at all.
>
>
> -----Original Message-----
> From: Rex Arul [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 26, 2001 4:27 PM
> To: Joshua Colson
> Subject: Re: Net::FTP
>
>
> Please use quotemeta function to quote meta characters
>
> perldoc -f quotemeta
>
>
>
============================================================================
> ==============
> Rex S. Arul
> Senior Systems Engineer
> New Energy Associates, LLC
> http://www.newenergyassoc.com
> All the knowledge I possess everyone else can acquire, but my heart is all
> my own.
> --Johann Wolfgang von Goethe
>
============================================================================
> ==============
> ----- Original Message -----
> From: "Joshua Colson" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, October 26, 2001 7:09 PM
> Subject: Net::FTP
>
>
> > I'm trying to use Net::FTP to 'get' some files from a ftp server.  The
> > problem I'm having is that some of the files have meta characters in
them,
> > and I cannot seem to figure out how to 'get' the files.
> >
> > what I have looks like this...
> >
> > if( $ftp->get( $file, "${directory}/${file}" ) ) {
> > print "it worked...";
> > }
> >
> > It works on some files, but not others...
> > Any help would be greatly appreciated!!
> >
> > Joshua Colson
> > Systems Administrator
> > Giant Industries, Inc.
> > (480) 585-8714
> > [EMAIL PROTECTED]
> >
> >
> > --
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to