When I said to check the websocket I meant that of the gui where it works! If you do it there you see
73
08:46:16.779
{"action":"browseFolder","data":{"folder":1,"next":"","root":""},"printer":"bla1","callback_id":77} 99
08:46:16.908
{"callback_id":77,"data":{"files":[{"isDir":true,"name":"pharaoh","path":"/pharaoh"},{"isDir":true,"name":"delta","path":"/delta"},{"isDir":false,"name":".DS_Store","path":"/.DS_Store","size":10244},{"isDir":true,"name":"ordbot","path":"/ordbot"},{"isDir":true,"name":"irapidmini","path":"/irapidmini"},{"isDir":true,"name":"felix","path":"/felix"},{"isDir":true,"name":"Stacker","path":"/Stacker"},{"isDir":true,"name":"irapid","path":"/irapid"},{"isDir":true,"name":"Packed","path":"/Packed"},{"isDir":false,"name":"Packed.zip","path":"/Packed.zip","size":4072063},{"isDir":true,"name":"Craftware","path":"/Craftware"},{"isDir":true,"name":"PrusaMK3","path":"/PrusaMK3"},{"isDir":true,"name":"Laser","path":"/Laser"},{"isDir":true,"name":"errors","path":"/errors"},{"isDir":true,"name":"Prusa","path":"/Prusa"},{"isDir":true,"name":"slicerdata","path":"/slicerdata"},{"isDir":true,"name":"orcabot","path":"/orcabot"},{"isDir":true,"name":"Packed 2","path":"/Packed 2"}],"ok":true,"root":"/"},"session":"Xv7J%QpNCVyE$!go1j6xeXuKPKLyz20m"} 1039
Folders are numbered and depend on the start directories you have created. Use getFolders to get a list of available folder ids.