I have this code:
my $orig_file_size = -s $file ;
Is throwing an error:
syntax error at ftp_4 line 33, near "$orig_file_size)"
Execution of ftp_4 aborted due to compilation errors.
Here is some more code:
my $host ='hpp411';
my $user ='sonalg';
my $pw ='Unix11!';
my $file ='ftp_example.p_1';
my $path ='/enbusers3.p411/vdx/af/sonalg/oldproj';
my $orig_file_size = -s $file;
my $ftp = Net::FTP->new($host, Debug => 1)
or die "Could not connect to '$host': $@";