Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re^2: how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)

by sn1987a (Friar)
on Apr 21, 2014 at 13:33 UTC ( #1083019=note: print w/ replies, xml ) Need Help??


in reply to Re: how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)
in thread how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)

On line 19 you declare my $sftp; but then on line 20 you assign to $stfp = Net::SFTP::Foreign->new. Note the transposition of f and t.

As an aside, this is one the benefits of use strict; it will catch these kinds of spelling errors at compile time.


Comment on Re^2: how to transfer a set of files in a directory from linux server(remote machine) to windows server(local machine)
Select or Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1083019]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (14)
As of 2015-07-30 16:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (273 votes), past polls