Skip Menu |

This queue is for tickets about the Net-SFTP-Foreign CPAN distribution.

Report information
The Basics
Id: 97107
Status: rejected
Priority: 0/
Queue: Net-SFTP-Foreign

People
Owner: Nobody in particular
Requestors: Sachin-12.Kulkarni-12 [...] cognizant.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: error while put using Net SFTP Foreign
Date: Thu, 10 Jul 2014 09:27:00 +0000
To: <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: <Sachin-12.Kulkarni-12 [...] cognizant.com>
Hi, We are receiving error while putting file on server, using Net::SFTP::Foreign client. Actual error: Failed to put: Couldn't setstat remote file (setstat)': This server does not support operations to modify file attributes I have applied attribute copy_time => 0, as below in our code: if (!$sftp->put($client_params{ftp_output_file}, $new_file_name, copy_perm=>0, copy_time => 0)) Now the file is transferred but with 0 bytes. No data is transferred. Our versions are: [542]:uname -a Linux wsx-stage-vm-cltfiles-1 2.6.32-431.3.1.el6.x86_64 #1 SMP Fri Dec 13 06:58:20 EST 2013 x86_64 x86_64 x86_64 GNU/Linux [543]:cpan -v CPAN: File::HomeDir loaded ok (v0.99) /usr/local/perl/bin/cpan script version 1.5701, CPAN.pm version 1.9800 [544]:perl -v This is perl, v5.10.1 (*) built for x86_64-linux Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License or the GNU General Public License, which may be found in the Perl 5 source kit. Complete documentation for Perl, including FAQ lists, should be found on this system using "man perl" or "perldoc perl". If you have access to the Internet, point your browser at http://www.perl.org/, the Perl Home Page. I read on net, that this problem is already resolved. But, we are facing the issues. Can someone look into this? Regards, Sachin Ashok Kulkarni. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
Subject: Re: [rt.cpan.org #97107] error while put using Net SFTP Foreign
Date: Thu, 10 Jul 2014 03:01:04 -0700
To: "bug-Net-SFTP-Foreign [...] rt.cpan.org" <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
Show quoted text
----- Original Message -----
> From: "Sachin-12.Kulkarni-12@cognizant.com via RT" <bug-Net-SFTP-Foreign@rt.cpan.org> > To: > Cc: > Sent: Thursday, July 10, 2014 11:27 AM > Subject: [rt.cpan.org #97107] error while put using Net SFTP Foreign > >T hu Jul 10 05:27:15 2014: Request 97107 was acted upon. > Transaction: Ticket created by Sachin-12.Kulkarni-12@cognizant.com >       Queue: Net-SFTP-Foreign >     Subject: error while put using Net SFTP Foreign >   Broken in: (no value) >     Severity: (no value) >       Owner: Nobody >   Requestors: Sachin-12.Kulkarni-12@cognizant.com >       Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 > > > > Hi, > > We are receiving error while putting file on server, using Net::SFTP::Foreign > client. > > Actual error: > Failed to put: Couldn't setstat remote file (setstat)': This server does > not support operations to modify file attributes > > I have applied attribute copy_time => 0, as below in our code: > > if (!$sftp->put($client_params{ftp_output_file}, $new_file_name, > copy_perm=>0, copy_time => 0)) > > Now the file is transferred but with 0 bytes. No data is transferred.
Could you enable debugging on the module and post the output? $Net::SFTP::Foreign = -1;
Subject: RE: [rt.cpan.org #97107] error while put using Net SFTP Foreign
Date: Fri, 11 Jul 2014 05:47:25 +0000
To: <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: <Sachin-12.Kulkarni-12 [...] cognizant.com>
Here is the output after enabling debugging: #20618 1396536231.00000 _set_error: _set_err code: 25, str: Couldn't setstat remote file (fsetstat): SSH_FILEXFER_ATTR_PERMISSIONS Sachin Ashok Kulkarni. Show quoted text
-----Original Message----- From: Salvador \"Fandiño\" via RT [mailto:bug-Net-SFTP-Foreign@rt.cpan.org] Sent: Friday, July 11, 2014 12:14 AM To: Kulkarni, Sachin (Cognizant) Subject: Re: [rt.cpan.org #97107] error while put using Net SFTP Foreign <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 >
----- Original Message -----
> From: "Sachin-12.Kulkarni-12@cognizant.com via RT" > <bug-Net-SFTP-Foreign@rt.cpan.org> > To: > Cc: > Sent: Thursday, July 10, 2014 11:27 AM > Subject: [rt.cpan.org #97107] error while put using Net SFTP Foreign > >T hu Jul 10 05:27:15 2014: Request 97107 was acted upon. > Transaction: Ticket created by Sachin-12.Kulkarni-12@cognizant.com > Queue: Net-SFTP-Foreign > Subject: error while put using Net SFTP Foreign > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: Sachin-12.Kulkarni-12@cognizant.com > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 > > > > Hi, > > We are receiving error while putting file on server, using > Net::SFTP::Foreign client. > > Actual error: > Failed to put: Couldn't setstat remote file (setstat)': This server > does not support operations to modify file attributes > > I have applied attribute copy_time => 0, as below in our code: > > if (!$sftp->put($client_params{ftp_output_file}, $new_file_name, > copy_perm=>0, copy_time => 0)) > > Now the file is transferred but with 0 bytes. No data is transferred.
Could you enable debugging on the module and post the output? $Net::SFTP::Foreign = -1; This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
Subject: Re: [rt.cpan.org #97107] error while put using Net SFTP Foreign
Date: Fri, 11 Jul 2014 00:37:21 -0700
To: "bug-Net-SFTP-Foreign [...] rt.cpan.org" <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
Show quoted text
----- Original Message -----
> From: "Sachin-12.Kulkarni-12@cognizant.com via RT" <bug-Net-SFTP-Foreign@rt.cpan.org> > To: > Cc: > Sent: Friday, July 11, 2014 7:47 AM > Subject: RE: [rt.cpan.org #97107] error while put using Net SFTP Foreign > >       Queue: Net-SFTP-Foreign > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 > > > Here is the output after enabling debugging: > > #20618 1396536231.00000 _set_error: _set_err code: 25, str: Couldn't setstat > remote file (fsetstat): SSH_FILEXFER_ATTR_PERMISSIONS
Post the full output, please
Subject: RE: [rt.cpan.org #97107] error while put using Net SFTP Foreign
Date: Fri, 11 Jul 2014 09:08:30 +0000
To: <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: <Sachin-12.Kulkarni-12 [...] cognizant.com>
I am very sorry Salva, but I don't have the complete output of log. Actually we are connecting to some external vendor server and putting file there using sftp. I need to get the permissions from vendor for once again putting the file on there server and then only I can capture whole log. Can you search something from existing info. Only? Sachin Ashok Kulkarni. Sr. Associate Sachin-12.Kulkarni-12@cognizant.com Vnet : (020-40213000)-214838 | Mobile : 989-065-0361 Show quoted text
-----Original Message----- From: Salvador \"Fandiño\" via RT [mailto:bug-Net-SFTP-Foreign@rt.cpan.org] Sent: Friday, July 11, 2014 1:08 PM To: Kulkarni, Sachin (Cognizant) Subject: Re: [rt.cpan.org #97107] error while put using Net SFTP Foreign <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 >
----- Original Message -----
> From: "Sachin-12.Kulkarni-12@cognizant.com via RT" > <bug-Net-SFTP-Foreign@rt.cpan.org> > To: > Cc: > Sent: Friday, July 11, 2014 7:47 AM > Subject: RE: [rt.cpan.org #97107] error while put using Net SFTP > Foreign > > Queue: Net-SFTP-Foreign > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 > > > Here is the output after enabling debugging: > > #20618 1396536231.00000 _set_error: _set_err code: 25, str: Couldn't > setstat remote file (fsetstat): SSH_FILEXFER_ATTR_PERMISSIONS
Post the full output, please This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
Subject: Re: [rt.cpan.org #97107] error while put using Net SFTP Foreign
Date: Fri, 11 Jul 2014 02:21:57 -0700
To: "bug-Net-SFTP-Foreign [...] rt.cpan.org" <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: Salvador Fandino <sfandino [...] yahoo.com>
Show quoted text
----- Original Message -----
> From: "Sachin-12.Kulkarni-12@cognizant.com via RT" <bug-Net-SFTP-Foreign@rt.cpan.org> > To: > Cc: > Sent: Friday, July 11, 2014 11:08 AM > Subject: RE: [rt.cpan.org #97107] error while put using Net SFTP Foreign > >       Queue: Net-SFTP-Foreign > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 > > > I am very sorry Salva, but I don't have the complete output of log. > Actually we are connecting to some external vendor server and putting file there > using sftp. > > I need to get the permissions from vendor for once again putting the file on > there server and then only I can capture whole log. > > Can you search something from existing info. Only?
No, sorry.
Subject: RE: [rt.cpan.org #97107] error while put using Net SFTP Foreign
Date: Fri, 11 Jul 2014 09:30:46 +0000
To: <bug-Net-SFTP-Foreign [...] rt.cpan.org>
From: <Sachin-12.Kulkarni-12 [...] cognizant.com>
I will take the permissions and will put the complete log then. Sachin Ashok Kulkarni. Sr. Associate Sachin-12.Kulkarni-12@cognizant.com Vnet : (020-40213000)-214838 | Mobile : 989-065-0361 Show quoted text
-----Original Message----- From: Salvador \"Fandiño\" via RT [mailto:bug-Net-SFTP-Foreign@rt.cpan.org] Sent: Friday, July 11, 2014 2:52 PM To: Kulkarni, Sachin (Cognizant) Subject: Re: [rt.cpan.org #97107] error while put using Net SFTP Foreign <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 >
----- Original Message -----
> From: "Sachin-12.Kulkarni-12@cognizant.com via RT" > <bug-Net-SFTP-Foreign@rt.cpan.org> > To: > Cc: > Sent: Friday, July 11, 2014 11:08 AM > Subject: RE: [rt.cpan.org #97107] error while put using Net SFTP > Foreign > > Queue: Net-SFTP-Foreign > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=97107 > > > I am very sorry Salva, but I don't have the complete output of log. > Actually we are connecting to some external vendor server and putting > file there using sftp. > > I need to get the permissions from vendor for once again putting the > file on there server and then only I can capture whole log. > > Can you search something from existing info. Only?
No, sorry. This e-mail and any files transmitted with it are for the sole use of the intended recipient(s) and may contain confidential and privileged information. If you are not the intended recipient(s), please reply to the sender and destroy all copies of the original message. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email, and/or any action taken in reliance on the contents of this e-mail is strictly prohibited and may be unlawful. Where permitted by applicable law, this e-mail and other e-mail communications sent to and from Cognizant e-mail addresses may be monitored.
Required log was never posted. Closing.