Getting error in Net::SFTP with get function

------=_Part_7028_3315294.1193837808284
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hi All,

I have the following code as part of my program;

 print "---=========> $file, $localFile\n";
                $sftp -> get( $file, $localFile ) || warn("errrrr0rrrrr
_---> $!".$sftp->status."\n");^M

Even though it has downloaded the file properly, it is giving the following
message:

---=========> /trading/tiscrdenhlist10310000.txt.old,
/export/home/crdadm/rajeev/tiscrdenhlist10310000.txt
errrrr0rrrrr _---> 0


Please let me know why it is give the error message.

Thanks,
Rajeev Kilaru

------=_Part_7028_3315294.1193837808284--
0
kilarurajeev
10/31/2007 1:36:48 PM
perl.beginners 29367 articles. 3 followers. Follow

11 Replies
1184 Views

Similar Articles

[PageSpeed] 53


-----Original Message-----
>From: kilaru rajeev <kilarurajeev@gmail.com>

>                $sftp -> get( $file, $localFile ) || warn("errrrr0rrrrr
>_---> $!".$sftp->status."\n");^M
>
>Even though it has downloaded the file properly, it is giving the following
>message:
>
>---=========> /trading/tiscrdenhlist10310000.txt.old,
>/export/home/crdadm/rajeev/tiscrdenhlist10310000.txt
>errrrr0rrrrr _---> 0
>

You may check the document for Net::SFTP and see what's the return true for get() method.
If fetching a file with success and get() return 0, your `get() || warn()` statement will break.
0
pangj
10/31/2007 1:45:34 PM
T24gMTAvMzEvMDcsIGtpbGFydSByYWplZXYgPGtpbGFydXJhamVldkBnbWFpbC5jb20+IHdyb3Rl
Ogo+IEhpIEFsbCwKPgo+IEkgaGF2ZSB0aGUgZm9sbG93aW5nIGNvZGUgYXMgcGFydCBvZiBteSBw
cm9ncmFtOwo+Cj4gIHByaW50ICItLS09PT09PT09PT0+ICRmaWxlLCAkbG9jYWxGaWxlXG4iOwo+
ICAgICAgICAgICAgICAgICAkc2Z0cCAtPiBnZXQoICRmaWxlLCAkbG9jYWxGaWxlICkgfHwgd2Fy
bigiZXJycnJyMHJycnJyCj4gXy0tLT4gJCEiLiRzZnRwLT5zdGF0dXMuI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ByaXNlIHRvIGRvbSEK
0
daggerquill
10/31/2007 3:09:05 PM
On 10/31/07, Jay Savage <daggerquill@gmail.com> wrote:

> Take another look at the Net::SFTP docs, particularly the note about
> what get() does when called in a void context.

I see a note about a non-void context, but I don't see one about a
void context. The OP didn't use the get() method in a void context.
Did you mean to write "non-void"?

    http://search.cpan.org/~dbrobins/Net-SFTP-0.10/lib/Net/SFTP.pm

As I interpret the docs, the OP's code should be correct. But maybe
I'm missing something.

--Tom Phoenix
Stonehenge Perl Training
0
tom
10/31/2007 3:15:04 PM
On Oct 31, 11:15 am, t...@stonehenge.com (Tom Phoenix) wrote:
> On 10/31/07, Jay Savage <daggerqu...@gmail.com> wrote:
>
> > Take another look at the Net::SFTP docs, particularly the note about
> > what get() does when called in a void context.
>
> I see a note about a non-void context, but I don't see one about a
> void context. The OP didn't use the get() method in a void context.
> Did you mean to write "non-void"?
>
>    http://search.cpan.org/~dbrobins/Net-SFTP-0.10/lib/Net/SFTP.pm
>
> As I interpret the docs, the OP's code should be correct. But maybe
> I'm missing something.

It's correct unless the file the OP is retrieving happens to be empty
(or contains nothing but '0').

Paul Lalli

0
mritty
10/31/2007 3:42:13 PM
T24gMTAvMzEvMDcsIFRvbSBQaG9lbml4IDx0b21Ac3RvbmVoZW5nZS5jb20+IHdyb3RlOgo+IE9u
IDEwLzMxLzA3LCBKYXkgU2F2YWdlIDxkYWdnZXJxdWlsbEBnbWFpbC5jb20+IHdyb3RlOgo+Cj4g
PiBUYWtlIGFub3RoZXIgbG9vayBhdCB0aGUgTmV0OjpTRlRQIGRvY3MsIHBhcnRpY3VsYXJseSB0
aGUgbm90ZSBhYm91dAo+ID4gd2hhdCBnZXQoKSBkb2VzIHdoZW4gY2FsbGVkIGluIGEgdm9pZCBj
b250ZXh0Lgo+Cj4gSSBzZWUgYSBub3RlIGFib3V0IGEgbm9uLXZvaWQgY29udGV4dCwgYnV0IEkg
ZG9uJ3Qgc2VlIG9uZSBhYm91dCBhCj4gdm9pZCBjb250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jay Savage <daggerquill@gmail.com> wrote:
>>
>>> Take another look at the Net::SFTP docs, particularly the note about
>>> what get() does when called in a void context.
>> I see a note about a non-void context, but I don't see one about a
>> void context. The OP didn't use the get() method in a void context.
>> Did you mean to write "non-void"?
>>
>>     http://search.cpan.org/~dbrobins/Net-SFTP-0.10/lib/Net/SFTP.pm
>>
>> As I interpret the docs, the OP's code should be correct. But maybe
>> I'm missing something.
>>
> 
> I suppose I should have said non-void, because that is the behavior
> the doc actually describes.
> 
> The assumption, though, is that void context will yeild the opposite
> result. And it looks to me like OP is calling $sftp->get() in a void
> context:
> 
>     $sftp->get( $file, $localFile ) || warn("errrrr0rrrrr_--->
> $!".$sftp->status."\n");
> 
> At least I'm not aware that that '||' forces any particular context on
> the lefthand operand. Perlop mentions propagating context WRT the
> righthand operand, but doesn't say anything about the left. So I would
> expect get() to return the same in the following cases:
> 
>     $sftp->get( $file, $localFile);
>     $sftp->get( $file, $localFile), print "something";
>     $sftp->get( $file, $localFile ) || die();
> 
> Given that, I would expect, from the docs, for get() to return the
> empty string on success and undef on failure, both of which are
> equally false from the perspective of '||'.
> 
> Or maybe *I'm* missing something?

perl -e "@x=(1,2,3); print @x || 99;"

Rob
0
rob
10/31/2007 5:46:30 PM
On 10/31/07, Jay Savage <daggerquill@gmail.com> wrote:

> it looks to me like OP is calling $sftp->get() in a void
> context:
>
>     $sftp->get( $file, $localFile ) || warn("errrrr0rrrrr_--->
> $!".$sftp->status."\n");

It may seem that way, but the left side of the logical or operator
isn't a void context, even if the operator itself is used in a void
context. That's actually a Boolean context (which is to say a scalar
context), no matter how the operator is used. That's because the left
side must be evaluated as true or false to determine whether the right
side will be evaluated, even if the whole thing is used in a void
context. Here comes the code:

  #!/usr/bin/perl

  use warnings;
  use strict;

  sub my_context {
    my $wa = wantarray ? "list" : "scalar";
    $wa = "void" unless defined wantarray;
    my $line = (caller)[2];
    print "Called in $wa context at line $line.\n";
    $wa;
  }

  print "Testing scalar and list context:\n";
  my $scalar = &my_context();
  my($list) = &my_context();
  print "Scalar: $scalar\nList: $list\n\n";

  print "Testing left side of ||-or in scalar context:\n";
  my $left_of_or = &my_context() || "0 but true";
  print "Left of ||-or: $left_of_or\n\n";

  print "Testing left side of ||-or in list context:\n";
  my($list_left_of_or) = &my_context() || "0 but true";
  print "List left of ||-or: $left_of_or\n\n";

  print "Testing left side of ||-or in void context:\n";
  &my_context() || die "no context";
  print "\n";

  print "Testing true void context:\n";
  &my_context();
  print "\n";

> At least I'm not aware that that '||' forces any particular context on
> the lefthand operand. Perlop mentions propagating context WRT the
> righthand operand, but doesn't say anything about the left.

The docs could always be more clear. The right operand of an
or-operator does inherit the context of the operator itself. But the
left operand's context is always Boolean.

> Given that, I would expect, from the docs, for get() to return the
> empty string on success

Where did you get that? From what I read of the docs, get() should
return the downloaded file contents on success. "If get is called in a
non-void context, returns the contents..."

  http://search.cpan.org/~dbrobins/Net-SFTP-0.10/lib/Net/SFTP.pm

Of course, the contents of a file could be the empty string or another
false value, so it would be appropriate to use defined() to test for
success.

Cheers!

--Tom Phoenix
Stonehenge Perl Training
0
tom
10/31/2007 6:21:35 PM
This discussion let me think a thing that, one of my co-workers, who is good at both C and perl programming. When coding with Perl, he always like to put a 'return 0' on the end of each subroutines (maybe learn the habit from C?). So for his packages, the methods which were executed successfully will return 0. I think this behavior will make confuse for another perl caller. Is this not good prac  on Perl style?

-----Original Message-----
>From: Tom Phoenix <tom@stonehenge.com>
>Sent: Nov 1, 2007 2:21 AM
>To: Jay Savage <daggerquill@gmail.com>
>Cc: Perl List <beginners@perl.org>
>Subject: Re: Getting error in Net::SFTP with get function
>
>On 10/31/07, Jay Savage <daggerquill@gmail.com> wrote:
>
>> it looks to me like OP is calling $sftp->get() in a void
>> context:
>>
>>     $sftp->get( $file, $localFile ) || warn("errrrr0rrrrr_--->
>> $!".$sftp->status."\n");
>
>It may seem that way, but the left side of the logical or operator
>isn't a void context, even if the operator itself is used in a void
>context. That's actually a Boolean context (which is to say a scalar
>context), no matter how the operator is used. That's because the left
>side must be evaluated as true or false to determine whether the right
>side will be evaluated, even if the whole thing is used in a void
>context. Here comes the code:
>


0
pangj
11/1/2007 1:40:51 AM
T24gMTAvMzEvMDcsIFRvbSBQaG9lbml4IDx0b21Ac3RvbmVoZW5nZS5jb20+IHdyb3RlOgpbc25p
cF0KPiBUaGUgZG9jcyBjb3VsZCBhbHdheXMgYmUgbW9yZSBjbGVhci4gVGhlIHJpZ2h0IG9wZXJh
bmQgb2YgYW4KPiBvci1vcGVyYXRvciBkb2VzIGluaGVyaXQgdGhlIGNvbnRleHQgb2YgdGhlIG9w
ZXJhdG9yIGl0c2VsZi4gQnV0IHRoZQo+IGxlZnQgb3BlcmFuZCdzIGNvbnRleHQgaXMgYWx3YXlz
IEJvb2xlYW4uCj4KClRoYW5rcyBmb3IgY2xlYXJpbmcgdGhhdCB1cCEKCj4gPiBHaXZlbiB0aGF0
LCBJIHdvdWxkIGV4cGVjdCwgZnJvbSB0aGUgZG9jcywgZm9yIGdldCgpIHRvIHJldHVybiB0aGUK
PiA+IGVtcHR5IHN0cmluZyBvbiBzdWNjZXNzCj4KPiBXaGVyZSBkaWQgeW91IGdldCB0aGF0PyBG
cm9tIHdoYXQgSSByZWFkIG9mIHRoZSBkb2NzLCBnZXQoKSBzaG91bGQKPiByZXR1cm4gdGhlIGRv
d25sb2FkZWQgZmlsZSBjb250ZW50cyBvbiBzdWNjZXNzLiAiSWYgZ2V0IGlzIGNhbGxlZCBpbiBh
Cj4gbm9uLXZvaWQgY29udGV4dCwgcmV0dXJucyB0aGUgY29udGVudHMuLi4iCj4KClRoYXQncyBi
YWNrIHRvIHRoZSB3aG9sZSB2b2lkIGJ1c2luZXNzLiBJbiBhIHZvaWQgY29udGV4dCwgaXQgc2hv
dWxkCnJldHVybiB0aGUgZW1wdHkgc3RyaW5nIG9uIHN1Y2Nlc3MsIGFuZCB1bmRlZiBvbiBmYWls
dXJlLiBJbiBhbnkgb3RoZXIKY29udGV4dCwgaXQgc2hvdWxkIHJldHVybiB0aGUgZmlsZSBjb250
ZW50cyBvbiBzdWNjZXNzLiBDbGVhcmx5LCBJIHdhcwpjb25mdXNlZCBhYm91dCB0aGUgY29udGV4
dC4KClRoYW5rcyBmb3Igc29ydGluZyBtZSBvdXQuCgotLSBqCi0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tClRoaXMgZW1haWwgYW5kIGF0dGFjaG1lbnQo
cyk6IFsgIF0gYmxvZ2FibGU7IFsgeCBdIGFzayBmaXJzdDsgWyAgXQpwcml2YXRlIGFuZCBjb25m
aWRlbnRpYWwKCmRhZ2dlcnF1aWxsIFthdF0gZ21haWwgW2RvdF0gY29tCmh0dHA6Ly93d3cudHVh
dy5jb20gIGh0dHA6Ly93d3cuZG93bmxvYWRzcXVhZC5jb20gIGh0dHA6Ly93d3cuZW5nYXRpa2ku
b3JnCgp2YWx1ZXMgb2Yg4iB3aWxsIGdpdmUgcmlzZSB0byBkb20hCg==
0
daggerquill
11/1/2007 1:10:44 PM
From:           	Jeff Pang <pangj@earthlink.net>
> This discussion let me think a thing that, one of my co-workers, who
> is good at both C and perl programming. When coding with Perl, he
> always like to put a 'return 0' on the end of each subroutines (maybe
> learn the habit from C?). So for his packages, the methods which were
> executed successfully will return 0. I think this behavior will make
> confuse for another perl caller. Is this not good prac  on Perl style? 

It would definitely confuse me. And drive me up the wall. 
I would kinda expect this from a module that's just a thin wrapper 
around a C library, but from an OO module that was written in Perl? 
Nope.

Jenda
===== Jenda@Krynicky.cz === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
	-- Terry Pratchett in Sourcery

0
Jenda
11/1/2007 1:41:43 PM
On Nov 1, 9:10 am, daggerqu...@gmail.com (Jay Savage) wrote:
> That's back to the whole void business. In a void context, it should
> return the empty string on success, and undef on failure. In any other
> context, it should return the file contents on success. Clearly, I was
> confused about the context.

You are still confused about context.  It makes no sense to return
ANYTHING in void context.  Void context very specifically means that
the return value is not used, looked at, or stored in any way.

Paul Lalli

0
mritty
11/1/2007 3:32:43 PM
Reply:

Similar Artilces:

POST GET GET GET GET... WTH?
Hi, I'm at a loss to explain this... I have an ASPX page that I can't always navigate to. When I developed the app (it's Starter Kit Portal-based), I did it on my LAN and have had no trouble accessing the page. However, upon deployment, I see the following behavior: 1. POST request goes out looking for MyForm.aspx 2. GET request for MyForm.aspx 3. GET request for MyForm.aspx 4. ... X. GET request Sometimes, the page finally loads. Other times, it just ends up blank. Many times, it doesn't load at ALL the first POST - I just get a "The pa...

Beginner of Beginner getting an error
Hi Guys, I have this script: #!/usr/bin/perl # track, find email addresses in emails, # writes them to /var/opt/ITrootmail/bad/ with a date # set up as a pipe for procmail or use with Pine $now = `date`; # find included email-like addresses while ($line = <STDIN>) { if ($line =~ /\b([\w_\-\.]+ at [\w_\-\.]+)\b/) { # exclude email addresses not needed (next) if ( $1 =~ /\d{8,}/ ); (next) if ( $1 =~ /postmaster/i ); (next) if ( $1 =~ /DAEMON/i ); ...

Getting Error Message "Error calling external function %s ..." when calling copymemoryIP function
Hi all, I am Tike. I am getting the error message as showed above when calling copymemoryIP external function in non visual object deployed as package in EA Server 5.2. I am using Powerbuilder version 9.0.3. The following is the coding of nf_connect function and the error hits at third CopyMemoryIp function which is at line 13. This nf_connect function is working fine without deploying as non visual object in EA Server. I couldn't find a solution for this issue for so many days, I really hope I can get it solved soon. Please help me if you know the solution. Thanks in advance. ...

Getting Error Message "Error calling external function %s ..." when calling copymemoryIP function Options
Hi all, I am getting the error message as showed above when calling copymemoryIP external function in non visual object deployed as package in EA Server 5.2. I am using Powerbuilder version 9.0.3. The following is the coding of nf_connect function and the error hits at third CopyMemoryIp function which is at line 13. This nf_connect function is working fine without deploying as non visual object in EA Server. I couldn't find a solution for this issue for so many days, I really hope I can get it solved soon. Please help me if you know the solution. Thanks in advance. S_HOSTENT ls...

Get API key -I am getting error
Hi I have created bugzilla and I got login also. but when I am ask the api key I got following error. Can you please give any suggesstions. Error log : ================================================================================= There was an error sending mail from 'bugzilla-daemon' to 'vanii.thiyagarajah@gmail.com': no sender Traceback: at Bugzilla/Mailer.pm line 181. Bugzilla::Mailer::MessageToMTA(...) called at Bugzilla/Mailer.pm line 222 Bugzilla::Mailer::send_staged_mail(...) called at Bugzilla/DB.pm line 1223 Bugzilla::DB::bz_commit_transaction(....

I keep getting an error, and get kicked out
Name: Edgar Mitchell Product: Firefox Summary: I keep getting an error, and get kicked out Comments: Where can I attach a screen-shot of the error messages? Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.10) Gecko/2009042316 Firefox/3.0.10 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not CC) the sender for them to see it. ...

trying to get started and i am getting this error
when i go to http://www.porkchopsplayground.com, i get: DotNetNuke Upgrade Error The Assembly Version ( [ASSEMBLYVERSION] ) does not match the Database Version ( [DATABASEVERSION] ) ERROR: Could not connect to database. Could not find file 'd:\hosting\nmoran26\Providers\DataProviders\AccessDataProvider\DotNetNuke.mdb'. Any suggestions will be appreciated. Thanks, Nicole Do you have a username and password set on your database? Make sure you follow the steps mentionned in the Readme.txt located in the documentation folder. In any case make sure your credentials for yo...

ODBC gets error when CTLIB gets results
Good Day: We have a test and prod sybase v11.x server. I can make a call to the test machine OK with ODBC. ex: exec sp_name null, '123', 'XYZ', null I execute this with SQLExecDirect() This call causes execution of several other stored procedures, and a result set is returned. On the prod machine the call fails complaining about the parameters to a lower level sp. Oddly enough the same query runs fine in a non-ODBC tool on prod or test. Are there any WS or Server ODBC config parameters that would lead to this sort of thing? I know this is a bit va...

Getting password error when trying to get mail.
Hi, my problem is that when I logon to Thunderbird & it immediately logons to the relevant POP3 server it throws back an alert that 'Sending the password did not succeed. Mail server MAIL1.eircom.net responded: invalid ray o'sullivan'. I have contacted the support people for the eircom server mentioned above and confirmed that the password I was using was/is correct. I have been using Thunderbird for 2 to 3 years with no issues even when I went to broadband. Any clues to a resolution would certainly be appreciated as I am a daily user. Thanks, Ray. ...

ASP.NET Noob, Getting HTTP Error 500.19 Error
Hey everyone, sorry, im new to .net, writing a simple parish search page and went to test it (http://localhost/WebsiteName) and initially got a MIME type error (404.3 - Not Found) so i put in the "<add ver="*" path="*.aspx" type="System.Web.UI.PageHandlerFactory"/> like i read somewhere else, and now i get a HTTP Error 500.19 - Internal Server Error. Its basically bitching about the add verb line i put in. Any help would be greatly appreciated. Im new to this. Thank you. Joshua  take out the web.config that you have and create a new one, that s...

used a c#.net to vb.net converter and am now getting a syntax error.
ok I used a cool utility at http://www.kamalpatel.net/ConvertCSharp2VB.aspx to convert some c#.net to vb.net and it spit out a bunch of code which almost works but I am getting a syntax error on this line Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream()) I tried it that way and also like Imports (StreamReader sr = Shadows Function)() As StreamReader(objResponse.GetResponseStream()) but either way gave the same error Compiler Error Message: BC30035: Syntax error. Source Error: Line 26: Line ...

Converting classic to .NET 2 code, and .NET gets an error back from ADS?
 For future-proofing, our Internal Phone Directory is being moved onto our AD servers, and obviously we're using LDAP for queries.To get the phoneboook queries working, I adapted the current classic ASP code to use LDAP, and that works fine. However, we're wanting to move these pages to .NET, and that's where the problem comes in. Using the same basic logic from the Classic code (90% of its unchanged) to produce an LDAP query, I get the error  155 Unknown error (0x80005000)This is using the same website, and so the same credentials  - unless aspx pages run und...

Trying to reference a .net assemly in ASP.NET page
Hi, I'm trying to use a .net assembly created from a PowerBuilder 12.1 legacy application. I successfully deployed the new .net assembly target, added the dll (maps.product.dll) as a reference in my asp.net application. When I try to reference the assembly in my .net app I get the message shown below. To prove this out I created a basic NVO called n_test that has only one public function called of_get_cost that has one argument (a string). When I try to reference the object in visual studio I dont see the function name (of_get_cost) exposed when using intellisense. Th...

Get error 2 failed to cache with second error Unable to get attributes [application] id=-603 in application chain
Application (chain) working find, but i got these error a the end. Error "Failed to cache application <dn of app>. Error code was 2" AND Unable to get attributes for application object [/<file name>] (ID=-603) begin 666 spacer.gif M1TE&.#EA`0`!`)'_`/___P```/___P```"'_"T%$3T)%.DE2,2XP`M[M`"'Y 6! $```(`+ `````!``$```("5 $`.P`` ` end JFK, It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply. Has your pr...

Web resources about - Getting error in Net::SFTP with get function - perl.beginners

Resources last updated: 11/27/2015 4:06:36 PM