Skip to content

Conversation

RickPoleshuck
Copy link

Simple parsing of the first letter of the longname into a more readable result.

@xtyxtyx
Copy link
Member

xtyxtyx commented Mar 3, 2022

The exact format of the longname field is unspecified in the SFTP protocol and thus should not be parsed. SftpFileMode can be used to get the type of files.

@xtyxtyx
Copy link
Member

xtyxtyx commented Mar 3, 2022

More information here: https://datatracker.ietf.org/doc/html/draft-ietf-secsh-filexfer-02 in page 22.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants