I used sftp to upload local file to remote path.

I can capture the timestamp on local site,

but I can't capture the timestamp on remote site


I used "Time.at((sftp.stat(remote_file)).mtime)" to capture

but it always show error.



How do I fix this problems?

-- 
Posted via http://www.ruby-forum.com/.