When I connect to an SFTP server in WinSCP, run
Calculate Directory Sizes on a folder, modify the folder externally, and run
Calculate Directory Sizes again, WinSCP still shows the old directory size before the changes.
I tried:
- Switching to another directory and back
- Clicking Remote > Refresh
- Right-clicking the tab and clicking Disconnect Session and Reconnect Session
and then running
Calculate Directory Sizes again, but it still shows the old size.
The only thing that worked was completely closing the remote tab or restarting WinSCP, and going through the Login dialog again.
Attached a partially redacted log of trying to
Calculate Directory Sizes,
Disconnect Session,
Reconnect Session, and
Calculate Directory Sizes again.
WinSCP 6.5.7, Windows 10 22H2