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

Re^7: Need alarm while getting error on SFTP

by Corion (Patriarch)
on Dec 03, 2015 at 11:51 UTC ( [id://1149297]=note: print w/replies, xml ) Need Help??


in reply to Re^6: Need alarm while getting error on SFTP
in thread Need alarm while getting error on SFTP

So why are you hiding your code from us? Maybe showing the relevant part of the code and explaining to us how you think it should work and how it works instead can help us help you better.

  • Comment on Re^7: Need alarm while getting error on SFTP

Replies are listed 'Best First'.
Re^8: Need alarm while getting error on SFTP
by ravi45722 (Pilgrim) on Dec 03, 2015 at 11:58 UTC
     my $ls = $sftp->ls('/root/sanjay', wanted => qr/[0-9bx-z].c/) or die "unable to retrieve directory: ".$sftp->error;

    I written like this. Actually I have three files

    Server1.c Client2.c sftp.c

    But its showing only 2 files. Its not showing sftp.c

      Have you thought about what your regular expression can match? Maybe there are things that are not matched. For example, your regular expression does not match the letter p as the third letter from the right in a filename.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (1)
As of 2024-04-25 19:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found