in reply to Getting remote files

Are you able to access this file remotely, like via FTP?
If so, you may want to check out the documentation for Net::FTP

An Example(UNTESTED):

#!/usr/bin/perl -w use strict; use Net::FTP; my $file="filename"; my $rdir="/path/to/remote/dir"; my $ftp = Net::FTP->new("yourhost.com", Debug => 0); $ftp->login("username",'-username@'); $ftp->cwd("$rdir"); $ftp->get("$file"); $ftp->quit;
Then, you can either move the file manually, or if your wanting to keep it as automated as possible add something like this:

my $ldir="/path/to/local/script"; system("mv", "$rdir$/$file", "$ldir");

I also know of some more friendly File Manipulation modules, but have drawn a blank on the names..

--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--~~--
perl -e '$a="3567"; $b=hex($a); printf("%2X\n",$a);'