Failure using Strings in Javascript
When using Javascript, if you pass a JS string into PutFiles it fails with "Type error":
This works...
This does not...
Any idea how to fix this??
This works...
var transferResult = session.PutFiles("D:\\test.xml", "/", false, transferOptions);
This does not...
var s = new String("D:\\test.xml"); var r = new String("/"); var transferResult = session.PutFiles(s, r, false, transferOptions);
Any idea how to fix this??