------------------------------------------------
On Fri, 7 Feb 2003 12:39:14 -0600, "Dan Muey" <[EMAIL PROTECTED]> wrote:


> > > Any ideas/different modules/etc..
> > >  
> > 
> > Though my understanding may not be complete, and it would 
> > take two scripts and may not be portable off of *nix systems, 
> 
> I hate to have to do 2 scripts although I see what you're saying.
> I wonder if it would work if I was to assign a filehandle to the variable somehow
> 
> I'll take a gander at perldoc -q filehandle and see what I can see
> 
> I'll try to test this by hand and see what happens and let the list know 
> Meanwhile any ideas/wisdom is always appreciated
> 

The ohter natural way would be to pull the source of Net::FTP into your script, I 
assume it is opening a socket connection, handling the protocol initialization, etc. 
for an ftp transfer then just opening the local file and piping the data into the 
socket, granted doing this yourself is a pain and is the reason why using the module 
is nice, but then you could always just write the contents to a temp file and ftp that 
then remove the temp file, so I am assuming the desire to do this directly is 
there.....

may also have a look at perldoc -f pipe ...

http://danconia.org

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

Reply via email to