class Net::SFTP::Protocol::V04::Name

Represents a single named item on the remote server. This includes the name, and attributes about the item, and the “longname”.

For backwards compatibility with the format and interface of the Name structure from previous protocol versions, this also exposes a longname method, which returns a string that can be used to display this item in a directory listing.