I call this method in this way:
WebUI.uploadFile(findTestObject('Object Repository/validateFile/input_originalFile'), "\"" + (d_directory.toString() + '\\') + detachedTXT1 + "\"" + " " + "\"" + (d_directory.toString() + '\\') + detachedTXT2 + "\"");
I get exception during execution:
Caused by: org.openqa.selenium.InvalidArgumentException: invalid argument: File not found : “C:_privat\myfile\sample1.bin” “C:_privat\myfiles\sample2.xml”
If I try to use this string in File Explorer window manually(CTRL+C->CTRL+V), it is working, these are successfully uploaded.