我有两个版本的 lucee,一个在我的计算机上,另一个在生产服务器上。我想使用以下命令保护使用 Microsoft RMS 服务的 Word 文档:
<cfexecute name="C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"
arguments='Protect-RMSFile -File "D:\CM.docx" -TemplateID 75e51549-41f9-464b-897d-28123425733 -OutputFolder d:\'
outputfile='D:\refreshsite.log' variable="data" errorvariable="xyz" timeout="50"/>
这在我的计算机上运行良好,但在服务器上提供:
timeout [50000 ms] 执行时过期
尽管如此,我看到该命令在服务器上运行良好,并且创建了受保护的文件。我不知道 Lucee 在服务器上等什么!!!