Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
How to get the SFTP return value from shell to perl, while i print the return value, it shows as like 'ftp> sftp>'.
kindly help me how to resolve this.
my $sftp_result = `sftp $host <<EOF put $gz_filename $dest_path bye EOF`; print "$sftp_results";
Thanks in advance
Shanmugam A.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: SFTP return value from shell to perl
by salva (Canon) on Apr 05, 2012 at 23:32 UTC | |
|
Re: SFTP return value from shell to perl
by bulk88 (Priest) on Apr 05, 2012 at 16:21 UTC | |
by Anonymous Monk on Apr 05, 2012 at 17:33 UTC | |
by aaron_baugher (Curate) on Apr 05, 2012 at 20:35 UTC | |
by Anonymous Monk on Apr 06, 2012 at 12:37 UTC |