Skip to content

SFTP Timestamp incorrect for FATFS #975

@J-Goldacker

Description

@J-Goldacker

wolfssh/src/wolfsftp.c

Lines 4958 to 4959 in 6e69959

atr->atime = info.ftime;
atr->mtime = info.ftime;

The problem is here. FATFS time info has it's own format. The solution for NUCLEUS (function TimeTo32(d, t)) looks very similar. Maybe it is the same, but I could not test it yet.

SFTP_GetAttributes_Handle seems to have the same problem.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions