Skip to content

Commit

Permalink
Merge pull request #634 from Main-Tomi/master_ls_issue
Browse files Browse the repository at this point in the history
SFTP server side: load file attributes only once on ls.
  • Loading branch information
tomaswolf authored Nov 15, 2024
2 parents d7a8d7d + f5c7b80 commit 690be26
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2325,7 +2325,7 @@ protected void writeDirEntry(

int version = getVersion();
if (version == SftpConstants.SFTP_V3) {
String longName = getLongName(f, shortName, options);
String longName = getLongName(f, shortName, attrs);
accessor.putRemoteFileName(this, f, buffer, longName, false);

if (log.isTraceEnabled()) {
Expand Down

0 comments on commit 690be26

Please sign in to comment.