Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^11: Perl sftp behavior when there are no files in the share

by soonix (Curate)
on Apr 06, 2013 at 07:08 UTC ( #1027257=note: print w/ replies, xml ) Need Help??


in reply to Re^10: Perl sftp behavior when there are no files in the share
in thread Perl sftp behavior when there are no files in the share

But the files are transferred and the other print statements are executed?

If I understand Net::SFTP::Foreign correctly, the callback function should be executed at least once per call to ->get.

Maybe it is overwritten too quickly - what if you remove the \r or replace it with \n?


Comment on Re^11: Perl sftp behavior when there are no files in the share
Re^12: Perl sftp behavior when there are no files in the share
by Bindo (Acolyte) on Apr 07, 2013 at 04:12 UTC

    Thanks again Mr Soonix. Yes sir files get downloaded with no problems. Will try what you suggested too and let you know. I think there is a problem with the net:sftp foreign with regard to it's call back feature. May be that is the reason I couldnt find a single person on the net who has gotten it to work.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (7)
As of 2014-10-01 23:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (41 votes), past polls