Re: Getting error in Net::SFTP with get function
- From: pangj@xxxxxxxxxxxxx (Jeff Pang)
- Date: Wed, 31 Oct 2007 21:45:34 +0800 (GMT+08:00)
-----Original Message-----
From: kilaru rajeev <kilarurajeev@xxxxxxxxx>
$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.
.
- Prev by Date: Getting error in Net::SFTP with get function
- Next by Date: Re: impatient DBI query
- Previous by thread: Re: Getting error in Net::SFTP with get function
- Next by thread: errror while installing DBD::MYSQL.
- Index(es):