Apr 2, 2001, 6:57 AM
hope this helps,
Re: access an external file from script
maybe you could set up an FTP session to retrieve a copy of the file, and then open the copy into a filehandle as usual...
NOTE: oops! forgot all about the part where you change working directory. Sorry. Here it is, newly edited...
my $path = "where/the/file/is";
my $file = "filename";
my $user = "username";
my $pass = "password";
$ftp = Net::FTP->new("www.somedomain.com");
Failure is not an option. It is a privelege reserved for those who try.
(This post was edited by ebennawy on Apr 2, 2001, 6:30 AM)