Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
ActiveX in DCTs javascripts
Pria
Am trying to get the Size of file by using filesystemobject in javascript
var fso = new ActiveXObject("Scripting.FileSystemObject");
fileObj = fso.GetFile("file path on server/test.txt");
var test = fileObj.Size;
but its giving the following error-
"Automation server can't create object"
Another issue am facing is -
DOM parsing in DCT's javascript. ActiveX object gets created, but yet the element is not read. the same code works if run on the local m/c.
Find more posts tagged with
Comments
There are no comments yet