This will create the folder in the root. You do not need to specify
You do need to specify "url('file://....
Only works if i used file//name.jpg but if i use the other directory doesn't work
The thing is right this:
imager.destination ="url('file:// Directory/xxxxx/namefile
the extension is named by the RE and the space after "//" was the important cause of that the file never was created