Posted 22 April 2008 - 04:29 AM
1013.8 Tree Refresh Bug CONFIRMED per the steps above and those following below.
It appears you can force a tree refresh to show the added folder by double-clicking on the folder in the file list. This, of course, takes you inside the folder.
Next, go back up to the parent folder and rename the new folder in the file list. The folder name is then instantly updated in the tree.
Rename again, this time in the tree and the name change appears in the file list.
Next, delete the folder in file list. FTP commands sent:
[00:25:50] RMD test3
[00:25:50] 250 The directory was successfully removed
and the folder is removed from the file list, but still shows in the tree.
Next, try deleting the folder again... FTP log says
[00:10:41] RMD test3
[00:10:41] 550 Can't remove directory: No such file or directory
However, click on any other existing folder in the parent folder in the tree and FTP commands are issued to get the directory listing (assuming first time viewing, otherwise list is cached) as follows:
[00:17:40] CWD /tmp/cpu_exceeded_logs
[00:17:40] 250 OK. Current directory is /tmp/cpu_exceeded_logs
[00:17:40] 257 "/tmp/cpu_exceeded_logs" is your current location
[00:17:40] TYPE A
[00:17:40] 200 TYPE is now ASCII
[00:17:40] 227 Entering Passive Mode (69,89,21,61,68,182)
[00:17:40] Opening data connection to 126.96.36.199 Port: 17590
[00:17:40] LIST -aL
[00:17:40] 150 Accepted data connection
[00:17:40] 226-Options: -a -l
[00:17:40] 226 2 matches total
[00:17:40] 119 bytes transferred. (762 bytes/s) (156 ms)
Try doing that for the new folder... No ftp commands are sent since it's "directory listing" though empty, is cached. However, close the tab for the remote site, then reconnect (using entry in Favorites) and the deleted folder still appears, but now when you click on it in tree view, these ftp commands are sent...
[00:17:21] 257 "/" is your current location
[00:17:21] CWD /tmp/test3
[00:17:21] 550 Can't change directory to /tmp/test3: No such file or directory
The only way to "clear the cached directory listing" is to exit and restart SFTP.