|
Hi,
I am using File::Remote module to read the remote files in my program. It fails when the file name has space in between.
FOR EXAMPLE:
#!/usr/bin/perl
use File::Remote qw(:replace);
$rshhost="myhostname";
$file = "/tmp/test 1.txt";
open(FH, "$rshhost:$file") || die "Cant open File : $!";
while (<FH<) { print $_; }
close(FH);
Other files are ok but it fails when file name has space. Can any one help me out there?
Thanks in advance.
Rupesh
|