[英]PDFTK want to transfer to another domain
I am working on a project which was developed by another developer Now client wants me to move it from current linux based server to new windows based server 我正在开发另一个开发人员开发的项目,现在客户希望我将其从当前的基于Linux的服务器移至新的基于Windows的服务器
it is developed in cakephp and PDFTK is used to fill pdf files dynamically. 它是在cakephp中开发的,PDFTK用于动态填充pdf文件。
I am trying to configure it first on my PC locally, to learn configuration of PDFTK 我试图首先在本地PC上对其进行配置,以了解PDFTK的配置
I have downloaded PDFTK Free version and installed 我已经下载了PDFTK Free版本并安装了
it generates pdfile with zero bytes size and it is not opeining 它生成具有零字节大小的pdfile,并且不存在
I also tried to try in in CMD 我也尝试在CMD中尝试
pdftk D:\wamp\www\my-project\app\webroot/files/138.pdf fill_form D:\wamp\www\my-project\app\webroot/files/results/1401.fdf output generated_pdfs/test_24.pdf
it returns the following error 它返回以下错误
Error: Failed to open output file:
generated_pdfs/test_24.pdf
No output created.
Error: unable to open file for output: generated_pdfs/test_24.pdf
while the target folder has permission to write on it 而目标文件夹具有写权限
pdftk TEMPLATE_FILE fill_form DATA_FILE output OUTPUT_FILE
尝试如下使用OUTPUT_FILE和fullpath
OUTPUT_FILE = D:/folder/.../generated_pdfs/test_24.pdf
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.