So I was able to take this a step further - the folder was not in /Public - so I moved it there for testing (based on your suggestion around permissions).
I am now able to ‘overwrite’ the file in the folder again by checking the overwrite.
However, I don’t want to do that - I want to generate a new CSV file with unique file name that I can then provide as a file for the user to download - either triggered automatically once complete or via a unique link.
If I uncheck ‘Overwrite’ then I get this error:
My understanding is that within the Wappler UI, we choose the file path (not folder, but the actual file - it will not allow me to choose just a folder) in the path when using ‘Export CSV file’
Once we choose the file, we can then choose to overwrite it (which appears to work) - or, create a totally new file if we remove the check from overwrite.
However, creating a new file is not possible - as we have to select the file in the folder, and then naturally the system errors and tells me this exists already - because it does.
What’s the workaround here please Patrick? If I could just select the folder in the path that would solve it - but I am forced to select the file.
I even tried selecting the file within Wappler so it generates the path, then I removed the actual ending file name leaving just th folder path - but I get the same error.
It seems there is no possible way to create a new file using Export CSV. Please advise?