Question

Files with square brackets in filename

  • 3 May 2024
  • 1 reply
  • 16 views

Badge

As per the title, I need to copy a file that has [ ] in the filename. When trying to upload, it complains that they’re illegal characters?

 

I guess the workaround would be to upload it without the square brackets, then include a PS command to rename it once it’s been copied down?

 

Any other workarounds (or a fix?)

 

Thanks

Danny


1 reply

Userlevel 5
Badge +1

@IamDannyOConnor I’d agree to rename the file, then rename it in the worklet to the desired output. I’ve tested with 32-bit PowerShell running as system and it seemed to rename just fine while doing it that way. 

The input validation in a web app makes sense from a security perspective. 

 

 

 

Reply