[Ssh-sftp-perl-users] File modification date/time with scp_put
Brought to you by:
dbrobins
From: Matt F. <Mat...@no...> - 2006-03-22 20:47:34
|
I've just recently started using Net::SSH2. I just updated my install to 0.07, as I was getting the 0 byte files on the remote server using scp_put. I now get all of the data in the remote file, but the file modification time is wrong. I just ran the script using scp_put, but the file on the remote server has a modification time from two days ago. The local file has a modification time from today. Why am I getting a modification time from two days ago on the remote file? I'm thinking the timestamp on the remote file is the date/time when I first created this file, but I'm not sure of that. Matt -- "A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." -- Ralph Waldo Emerson |