File List - Strange behaviour with spaces
Posted: Sun Oct 27, 2024 2:37 pm
Hey Oleg,
For a task I need 2 JPG files which are being modified by ImageMagick. This works, but the error occurs already in the beginning of fetching the files.
An importfolder is being monitored by a File Trigger. After 1 first JPG is detected, the task starts and waits for 5 seconds until the second one arrives.
The Search For Files action, should create a list of the 2 files. Robotask tries that and works, but when spaces in the filename are occuring, that is screwing things up
For sure, the solution would be to use no spaces, but that's another discussion (we are dealing with people here), and technically...it should work....right?
The 2 files: Creation of the list: The Log Message shows me this: (I'm using: Links: {LIST(0)}) It looks likes it goes wrong at the first space. The second file (called with {LIST(1)}) is only displaying a "-".
What do I miss here? Using brackets (like ") before and after the filename doesn't solve this issue....
For a task I need 2 JPG files which are being modified by ImageMagick. This works, but the error occurs already in the beginning of fetching the files.
An importfolder is being monitored by a File Trigger. After 1 first JPG is detected, the task starts and waits for 5 seconds until the second one arrives.
The Search For Files action, should create a list of the 2 files. Robotask tries that and works, but when spaces in the filename are occuring, that is screwing things up

The 2 files: Creation of the list: The Log Message shows me this: (I'm using: Links: {LIST(0)}) It looks likes it goes wrong at the first space. The second file (called with {LIST(1)}) is only displaying a "-".
What do I miss here? Using brackets (like ") before and after the filename doesn't solve this issue....