Hello,
I have just tried the example and found that refreshing /edit misses handleFileList a lot.
This is the log file of me pressing refresh on Microsoft Edge. Google chrome never shows the tree.
The file tree is populated only when there is the handleFileList event.
05:02:59.300 -> Connected! IP address: 192.168.25.8 05:02:59.300 -> Open http://esp32fs.local/edit to see the file browser 05:02:59.300 -> HTTP server started 05:03:04.618 -> handleFileRead: / 05:03:05.245 -> handleFileRead: /favicon.ico 05:03:08.931 -> handleFileRead: / 05:03:09.137 -> handleFileRead: /graphs.js 05:03:09.357 -> handleFileRead: /favicon.ico 05:03:21.529 -> handleFileRead: /edit.htm 05:03:22.227 -> handleFileRead: /index.htm 05:03:24.058 -> handleFileRead: /edit.htm 05:03:24.299 -> handleFileRead: /index.htm 05:03:26.721 -> handleFileRead: /edit.htm 05:03:26.893 -> handleFileRead: /index.htm 05:03:30.827 -> handleFileRead: /edit.htm 05:03:30.965 -> handleFileRead: /index.htm 05:03:33.380 -> handleFileRead: /edit.htm 05:03:33.525 -> handleFileRead: /index.htm 05:03:37.500 -> handleFileRead: /edit.htm 05:03:37.639 -> handleFileRead: /index.htm 05:03:46.494 -> handleFileRead: /edit.htm 05:03:46.704 -> handleFileRead: /index.htm 05:03:56.432 -> handleFileRead: /edit.htm 05:03:56.638 -> handleFileRead: /index.htm 05:03:57.876 -> handleFileRead: /edit.htm 05:03:58.016 -> handleFileRead: /index.htm 05:03:59.699 -> handleFileRead: /edit.htm 05:03:59.873 -> handleFileRead: /index.htm 05:04:04.732 -> handleFileRead: /edit.htm 05:04:05.223 -> handleFileRead: /index.htm 05:04:14.964 -> handleFileRead: /edit.htm 05:04:15.675 -> handleFileList: / 05:04:25.415 -> handleFileRead: /index.htm 05:04:29.511 -> handleFileRead: /index.htm 05:04:31.783 -> handleFileRead: /edit.htm 05:04:32.293 -> handleFileRead: /index.htm 05:04:37.629 -> handleFileRead: /edit.htm 05:04:38.000 -> handleFileRead: /index.htm 05:04:44.257 -> handleFileRead: /edit.htm 05:04:44.581 -> handleFileRead: /index.htm 05:04:48.266 -> handleFileRead: /edit.htm 05:04:48.568 -> handleFileList: / 05:04:57.768 -> handleFileRead: /edit.htm 05:04:58.680 -> handleFileList: / 05:05:05.334 -> handleFileRead: /edit.htm 05:05:05.649 -> handleFileRead: /index.htm 05:05:10.146 -> handleFileRead: /edit.htm 05:05:10.563 -> handleFileRead: /index.htm 05:05:16.418 -> handleFileRead: /edit.htm 05:05:16.835 -> handleFileRead: /index.htm 05:05:21.004 -> handleFileRead: /edit.htm 05:05:21.958 -> handleFileRead: /index.htm 05:05:26.057 -> handleFileRead: /edit.htm 05:05:26.335 -> handleFileRead: /index.htm 05:05:29.130 -> handleFileRead: /edit.htm 05:05:29.408 -> handleFileRead: /index.htm 05:05:33.233 -> handleFileRead: /edit.htm 05:05:33.604 -> handleFileList: /
Hello,
I have just tried the example and found that refreshing /edit misses handleFileList a lot.
This is the log file of me pressing refresh on Microsoft Edge. Google chrome never shows the tree.
The file tree is populated only when there is the handleFileList event.
05:02:59.300 -> Connected! IP address: 192.168.25.8 05:02:59.300 -> Open http://esp32fs.local/edit to see the file browser 05:02:59.300 -> HTTP server started 05:03:04.618 -> handleFileRead: / 05:03:05.245 -> handleFileRead: /favicon.ico 05:03:08.931 -> handleFileRead: / 05:03:09.137 -> handleFileRead: /graphs.js 05:03:09.357 -> handleFileRead: /favicon.ico 05:03:21.529 -> handleFileRead: /edit.htm 05:03:22.227 -> handleFileRead: /index.htm 05:03:24.058 -> handleFileRead: /edit.htm 05:03:24.299 -> handleFileRead: /index.htm 05:03:26.721 -> handleFileRead: /edit.htm 05:03:26.893 -> handleFileRead: /index.htm 05:03:30.827 -> handleFileRead: /edit.htm 05:03:30.965 -> handleFileRead: /index.htm 05:03:33.380 -> handleFileRead: /edit.htm 05:03:33.525 -> handleFileRead: /index.htm 05:03:37.500 -> handleFileRead: /edit.htm 05:03:37.639 -> handleFileRead: /index.htm 05:03:46.494 -> handleFileRead: /edit.htm 05:03:46.704 -> handleFileRead: /index.htm 05:03:56.432 -> handleFileRead: /edit.htm 05:03:56.638 -> handleFileRead: /index.htm 05:03:57.876 -> handleFileRead: /edit.htm 05:03:58.016 -> handleFileRead: /index.htm 05:03:59.699 -> handleFileRead: /edit.htm 05:03:59.873 -> handleFileRead: /index.htm 05:04:04.732 -> handleFileRead: /edit.htm 05:04:05.223 -> handleFileRead: /index.htm 05:04:14.964 -> handleFileRead: /edit.htm 05:04:15.675 -> handleFileList: / 05:04:25.415 -> handleFileRead: /index.htm 05:04:29.511 -> handleFileRead: /index.htm 05:04:31.783 -> handleFileRead: /edit.htm 05:04:32.293 -> handleFileRead: /index.htm 05:04:37.629 -> handleFileRead: /edit.htm 05:04:38.000 -> handleFileRead: /index.htm 05:04:44.257 -> handleFileRead: /edit.htm 05:04:44.581 -> handleFileRead: /index.htm 05:04:48.266 -> handleFileRead: /edit.htm 05:04:48.568 -> handleFileList: / 05:04:57.768 -> handleFileRead: /edit.htm 05:04:58.680 -> handleFileList: / 05:05:05.334 -> handleFileRead: /edit.htm 05:05:05.649 -> handleFileRead: /index.htm 05:05:10.146 -> handleFileRead: /edit.htm 05:05:10.563 -> handleFileRead: /index.htm 05:05:16.418 -> handleFileRead: /edit.htm 05:05:16.835 -> handleFileRead: /index.htm 05:05:21.004 -> handleFileRead: /edit.htm 05:05:21.958 -> handleFileRead: /index.htm 05:05:26.057 -> handleFileRead: /edit.htm 05:05:26.335 -> handleFileRead: /index.htm 05:05:29.130 -> handleFileRead: /edit.htm 05:05:29.408 -> handleFileRead: /index.htm 05:05:33.233 -> handleFileRead: /edit.htm 05:05:33.604 -> handleFileList: /