Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. lpaulose

    NET::SCP::Expect

    It doesn't look like the perl module scp has any such options.
  2. lpaulose

    NET::SCP::Expect

    I don't know how to check the existance of a file on a remote server before copying. Not sure what the code is for checking existance of file on a remote server. That's why I had to try calling the error_handler method. It would be of great help if that could be done via the script prior to...
  3. lpaulose

    NET::SCP::Expect

    I thought I got it to work but it seems it still errors out. This is the code I'm using to connect where the sub routine catchError is user defined: my $scpe = Net::SCP::Expect->new(host=>"$import_host",user=>"$import_user",password=>"$import_pwd",auto_yes=>1) or $scp_err=1...
  4. lpaulose

    NET::SCP::Expect

    I am using NET::SCP::Expect to copy files from a remote server. The scp() commands seems to abruptly quit when the file is not available on the remote server. Could someone provide me an example on how to use the method error_handler() that comes with this module? Thanks!

Part and Inventory Search

Back
Top