Finding out file names

If you generate a document SC saves it in the tmp folder and names it for example sc_pdf_datetime_random_gridname.pdf.

How can you find out the generated file name?

You can set the name of the PDF export by using the macro sc_set_pdf_name. You can see it’s reference at
http://www.scriptcase.net/docs/en_us/v81/manual_mp.htm#scriptcase-macros/scriptcase-macros

Hi Carlos, I already noticed this. But what happens in this case if two users generate a document. I think this will overwrite the file and
need to save the generated file in a server directory

Did nobody ever needed to save the pdf export files in a server directory?

It won’t overwrite the file, it’ll just add a new file beside the original like file(1).pdf, file(2).pdf and so on.

No, at least not in the development environment, by default the files in the development is saved in the tmp folder within the Scriptcase directory

You say not in the development environment, so is that possible in prod environment?
All I need is to move the correct pdf files from the users in certain dirs.