hierynomus / hierynomus/sshj

Suggest strategy for enumerating remote files to be downloaded using SFTPFileTransfer

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

Description

At this point in SSHJ, there is special logic to account for SFTP servers that do not supply file type information.

https://github.com/hierynomus/sshj/blob/master/src/main/java/net/schmizz/sshj/sftp/SFTPFileTransfer.java#L124-L127

That is, if the file type is UNKNOWN, the file is downloaded as if the type were REGULAR.

Seeking insight as to whether remote file enumeration logic should similarly ignore `remote.getAttributes().getType() == UNKNOWN`.

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.