I need to use a database dump with this. I have the database dump run like
$data = `query`;. Please don't ask about that. How can I use a filehandle to
grab the information from the shell output?

-----Original Message-----
From: drieux [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 05, 2002 5:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Net::FTP



On Friday, April 5, 2002, at 01:54 , Balint, Jess wrote:

> I know this may be an oddball question, but can I stream data into a file
> over Net::FTP?

interesting idea: given that perldoc Net::FTP
says:


      put ( LOCAL_FILE [, REMOTE_FILE ] )
          Put a file on the remote server. "LOCAL_FILE" may be a
          name or a filehandle.  If "LOCAL_FILE" is a filehandle
          then "REMOTE_FILE" must be specified. If "REMOTE_FILE"
          is not specified then the file will be stored in the
          current directory with the same leafname as
          "LOCAL_FILE".

so why not try it! Let us know.

ciao
drieux

---


-- 
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