Windows Script Generation Problems
i generating wsf use on servers, method i'm using comes strange problem.
i using cffile write , append file on webserver pretty elementary. problem when execute wsf cscript.exe, complains improper tag matching. if open file in notepad, make no changes, save file, script execute fine.
i have tried pushing file browser using the:
<cfcontent type="text/scriptlet">
<cfheader name="content-disposition" value="attachment; filename=#filename#.wsf">
<cffile action="read" file="#ospath#\tempwsf\#filename#.wsf" variable="wsfcontent">
<cfoutput>#wsfcontent#</cfoutput>
and i've used both mime types: text/scriptlet , text/plain same results file created on web server.
any ideas how can prevent having open each wsf notepad , resaving them all?
thanks,
rocky
edit: reason dropped post in database access. since wrong location , cannot change forum supposed in, i'll repost in advanced techniques.
i using cffile write , append file on webserver pretty elementary. problem when execute wsf cscript.exe, complains improper tag matching. if open file in notepad, make no changes, save file, script execute fine.
i have tried pushing file browser using the:
<cfcontent type="text/scriptlet">
<cfheader name="content-disposition" value="attachment; filename=#filename#.wsf">
<cffile action="read" file="#ospath#\tempwsf\#filename#.wsf" variable="wsfcontent">
<cfoutput>#wsfcontent#</cfoutput>
and i've used both mime types: text/scriptlet , text/plain same results file created on web server.
any ideas how can prevent having open each wsf notepad , resaving them all?
thanks,
rocky
edit: reason dropped post in database access. since wrong location , cannot change forum supposed in, i'll repost in advanced techniques.
More discussions in Database Access
adobe
Comments
Post a Comment