Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: net::sftp dies in the middle

by Illuminatus (Curate)
on Feb 04, 2013 at 18:13 UTC ( #1016985=note: print w/replies, xml ) Need Help??


in reply to net::sftp dies in the middle

The first thing I would do is make sure that you can do an sftp from the command line of $local_file to $remote_file. Since you didn't show the code that sets these variables, I can't be sure they're set the way you expect. Since it's an open problem, the first thing i would verify that this user can write this file in this location. If you have access to the server, you can usually restart it with debugging turned on. It will probably log open/write errors on its side

fnord

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1016985]
help
Chatterbox?
[james28909]: cant seem to make it look in linux module path for md5.pm
[james28909]: no matter how i prepare the paths. oh well. looks like ill just have to start wsl perl from scratch
[Corion]: james28909: You can get a list of all modules on your Windows Perl via the autobundle command in the cpan shell. But that likely lists many more modules than you actually want. I recommend a clear separation and installing modules on ...
[Corion]: ... both Perls separately. I use cpanfiles or Makefile.PL for that - listing all modules for an application there allows me to install them via cpanm . or cpan . automatically without any further interaction

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (5)
As of 2018-05-23 17:21 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?