1541ultimate icon indicating copy to clipboard operation
1541ultimate copied to clipboard

Wrong file size in directory listing when viewing listing when upload completes

Open arttu76 opened this issue 3 years ago • 2 comments

This (really minor) bug occurs on Ultimate-II Plus 3.10a (11C) - steps to reproduce:

  1. Open Ultimate menu and view a directory listing
  2. Upload a file via FTP to that exact same directory
  3. The directory listing will automatically update and it will then list the newly uploaded file: the file works and it can be interacted with (for example if it is a .d64 file it can be explored) BUT the file size is listed as 0K.

If you reload the directory listing (for example going to the parent directory and entering the same directory again) the file size is reported correctly.

arttu76 avatar May 22 '22 21:05 arttu76

Known issue indeed. Thank you for reporting it as an issue here. The reason is that there is no 'update event' when a file closes. An update event is sent to all listener clients when a file is created or deleted, but not when a file is closed. I remember working on this some time ago, but it is a bit less easy than it sounded.

GideonZ avatar May 23 '22 07:05 GideonZ

yep. I noticed that too.

Zibri avatar Apr 20 '23 09:04 Zibri