Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

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

by soonix (Canon)
on Apr 06, 2013 at 07:08 UTC ( [id://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

Replies are listed 'Best First'.
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1027257]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-24 21:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found