Why does it take so long to calculate directory size ?
Hello,
On a remote folder that supposedly contains around 15 GB of data, I saw winscp only reaching 50% calculation after 4 minutes had passed.
I don't want to sound too cocky (to the contrary, I'll assume it's simply there must be many factors that I didn't even imagine), but isn't there a way to make it faster ?
FTP commands support advanced listing of a directory contents (LIST, and of course SIZE), which might perhaps be exploited to do a calculation ?
Much better (so : at least, do that for SFTP sessions ?) SFTP commands allow the even more useful "du -lh" command.
Well, this is half a question, half a suggestion, there might be a relatively easy field for improvement, and sorry if it was so complicated this is impossible to implement but I had no idea ;)
On a remote folder that supposedly contains around 15 GB of data, I saw winscp only reaching 50% calculation after 4 minutes had passed.
I don't want to sound too cocky (to the contrary, I'll assume it's simply there must be many factors that I didn't even imagine), but isn't there a way to make it faster ?
FTP commands support advanced listing of a directory contents (LIST, and of course SIZE), which might perhaps be exploited to do a calculation ?
Much better (so : at least, do that for SFTP sessions ?) SFTP commands allow the even more useful "du -lh" command.
Well, this is half a question, half a suggestion, there might be a relatively easy field for improvement, and sorry if it was so complicated this is impossible to implement but I had no idea ;)