We have a customer that needs to store content on a network share.
I was trying to test this locally by creating a local windows share on my computer and writing to it. The share exists, but when I try write to it, I get this error:
JavaException: java.io.IOException: Unable to create the directories for file: smb://BPETTY-PC/prodshare/IHed11cfa8842b2023051913493969PAT_AN56841 2990152 DT00172 .pdf
I am not sure why it is trying to create a directory. I simply want it to create a file.
Any ideas?
Example:
const networkFile = qie.newNetFile('//BPETTY-PC/prodshare' + '/' + name, '<USER>', '<PWD>', false);
try {
qie.writeFile(networkFile, value, true);
} finally {
networkFile.close();
}