@Stephen6309 said in DSF 3.2 file/folder naming issue:
@garyd9 The +, is not valid for filenames and directories.
Without context, it's difficult to reply. However, it IS, in fact, perfectly legal in DWC (when used with a standalone duet3), with PanelDue access, in the linux ext4 filesystem (used by the RaspPi when in SBC mode), in FAT32 (used by a standalone Duet2 or Duet3), and NTFS (the filesystem used by the operating system I'm accessing DWC from.)
https://www.mtu.edu/umc/services/digital/writing/characters-avoid/
You linked to a site that references "characters to avoid" and "commonly illegal characters", but the information is quite dated. See my above comment. The only filesystem I can think of off the top of my head that doesn't allow a plus sign in a filename is, perhaps, FAT16/FAT12 (8.3 filenames.)
In fact, when I rename a folder to include a plus sign in DWC (duet3+sbc) the actual directory on the raspPi is properly renamed with a plus sign ("/opt/dsf/sd/gcodes/PLA+") The issue is that DWC/DSF gets flaky when trying to access a folder with a plus sign in it.
Again, this works perfectly fine on a standalone (non-SBC) Duet3 installation with RRF 3.2.
Finally, even if was illegal or if DSF will never implement it, the point of my message was to report the buggy behavior. If DSF won't support plus signs, then it shouldn't allow renaming a file or folder with a plus sign. That would be much better than allowing the rename, and then pumping out error messages on ANY directory access afterwards.
Just as some background, the REASON it's often called "illegal" (when it's not) is because it's often used in command line processing for special things. For example, "copy a.txt + b.txt appended_file.txt", but that would have nearly no bearing on file I/O API's that aren't parsed by the command line interpreter. In those cases, you need to surround the filename with quotes (or escape the plus sign.)