P
Patrick Tingen
Guest
We used a similar approach as Jeff mentioned, but at one point I had to investigate why it took up to 20 seconds to determine a 'free' file name. It turned out that files were not properly cleaned up when the process ended, so the temp-folder was full of temp files and most numbers were already used. So it had to iterate literally thousands of time before it could find a free number. I changed it to include both date and time in the temp name. * And * to clean up at the end of the process 
Continue reading...
Continue reading...