On 6/4/07, Ben Edwards <[EMAIL PROTECTED]> wrote:
snip
@files = $ftp->ls($flist) or die "failed to ls $flist";
foreach $file ( @files ) {
if ( $file !~ /No such file or directory/ ) {
snip
I am not entirely sure but this looks like a OS specific error (when
there is no files that match the
HI, fraid its me again,
I have the following code which I am trying to make non OS specific.
$ftp = Net::FTP->new( $remote_host ) or die "faild to connect to $remote_host";
$ftp->login( $remote_user, $remote_password ) or die "failed to login
$remote_user";
$ftp->cwd( $remote_dir ) or die "fail