if file_contents points to an xliff or zip on the server such as "c:\temp\tasks_250199_-_MyCompany-Test_-_testing_5_126627_ja_JP_xliff.zip" the function creates an upload file but that file is always blank and we get the error "java.lang.RuntimeException: Too many/few attachments sent [0] Please limit to 1".
Even when we call the function using a literal string of the contents of the xliff or a bytestream/octet encoded file the procedure give the too many/few error or a "com.idiominc.ws.WSRuntimeException: The filename, directory name, or volume label syntax is incorrect (covers java.io.IOException: The filename, directory name, or volume label syntax is incorrect)" error.
I need to know how the "Attached file" need to be referenced or the data type needed for it. It is clear that the system has access to the file but can't properly create the upload file for some reason.
Generated Image Alt-Text
[edited by: RWS Community AI at 1:24 PM (GMT 1) on 23 Apr 2025]