Skip Menu |

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

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

People
Owner: Nobody in particular
Requestors: khalil-ur.rahman [...] barclaysglobal.com
Cc:
AdminCc:

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



Subject: No date stamp on file after file transfer to Windows system using NET::SFTP 0.08
Hi. Currently we transfer files using a Perl script from Solaris 8 via the NET::SFTP module version 0.08. When the file gets to the Windows system the date stamp is lost, i.e. nothing is shown in the Modified field. When you check the property of the file it indicates "01 January 1970". The SFTP server running on the Windows server is "WAC" by Foxit. If the file is transfered using the UNIX sftp binary it retains the date stamp and all is good. Thanks. Khalil.
It looks like there's code in place to set the date if it's available; you might want to see if the "if ($flags & SSH2_FILEXFER_ATTR_ACMODTIME)" block is hit in get(); if not, the remote is not providing a date and there's not much we can do about it.