Skip to content
This repository has been archived by the owner on Aug 21, 2023. It is now read-only.

No st_mtimespec method ? #24

Open
waghanza opened this issue Oct 30, 2018 · 0 comments
Open

No st_mtimespec method ? #24

waghanza opened this issue Oct 30, 2018 · 0 comments

Comments

@waghanza
Copy link

Hi @datanoise,

I have a error on

stat.st_mtimespec.tv_sec, stat.st_atimespec.tv_sec) do |ch|

The error message is

in lib/ssh2/src/session.cr:307: undefined method 'st_mtimespec' for LibC::Stat

             stat.st_mtimespec.tv_sec, stat.st_atimespec.tv_sec) do |ch|

This error appear when using scp_send_file with a absolute path

Regards,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant