hierynomus / hierynomus/sshj

How to set timestamp for directory?

Open
#497 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
2.7k
Forks
620
Avg merge
3d 23h
Merged PRs (30d)
11

Description

Hi,
I am trying to set the timestamps of the files and the directories while copying directories.
There is no problem to set the timestamps for the files but I am not able to set the timestamps for the directories.
I tried to call SFTPClient.setattr(String path, FileAttributes attrs) and SFTPEngine.makeDir(String path, FileAttributes attrs). Both run without error but also without changing the timestamp.
Is is not possible to set them?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.