[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] FTP and fileHandler question



On Fri, Apr 14, 2000 at 11:51:20AM +0200, Giorgio Valoti wrote:
} 
} Everything's OK but it seeems to that the script starts to process the
} dowloaded file when the download is complete: is that true? Is there a
} way to check this? And, if so, is there a way to process this file
} on-the-fly?

Yes, it only starts processing when the entire file is returned.  (It
waits untli the ->get is finished.)  You can't do anything but that
with the normal Net::FTP calls that you're using.  But if you look at
the pod for Net::FTP, you'll see that it discusses the "dataconn"
class.  With those, you should be able to do what you want.


} TIA
} 
} --
} Giorgio Valoti
} 
} MagneticMedia Network
} 
} 

-- 
Paul Schinder
schinder@pobox.com

# ===== Want to unsubscribe from this list?
# ===== Send mail with body "unsubscribe" to macperl-request@macperl.org