APEX 4.1
Cannot create the directory
Cannot execute utl.fopen
need: copy file from local to server. eg: copy d:\cbs.xls to server B:\USERS\.
page -> Javascript -> function & global variable declaration
<script language="JavaScript" type="text/javascript">
function RUN(){
var fso = new ActiveXObject( "Scripting.FileSystemObject ");
var newpath = fso.CopyFile( "d:\\cbs.xls ", "B:\\USERS\\cbs.xls"); }
</script>
Create a button, button attribute:
onClick="RUN();"
run the page but doesn't work
could anyone help me?
thanks in advance.
Yong.