Rémi Villé created VFS-771:
------------------------------

             Summary: SFTP multiple get copy bad performnce if copyFrom() 
called after findFiles()
                 Key: VFS-771
                 URL: https://issues.apache.org/jira/browse/VFS-771
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 2.6.0
            Reporter: Rémi Villé


Similar to VFS-698: if you call sftpFile.findFiles(selector) before 
localFile.copyFrom(sftpFile, selector) the second call reset file stats in the 
cache (in .AbstractFileSystem#resolveFile() =>
{code:java}
if (getFileSystemManager().getCacheStrategy().equals(CacheStrategy.ON_RESOLVE)) 
{
 file.refresh();
}
{code}
)
Then the stats are retrieved one by one which result in poor performances.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to