JAVA
小菜鸟JAVA
这个作者很懒,什么都没留下…
展开
-
HTML转PDF并上传FTP(1)
准备工作: 1.安装插件wkhtmltopdf,URL:https://wkhtmltopdf.org/downloads.html 2.导包 jsch-0.1.54.jar URL:http://www.jcraft.com/jsch/ 代码片段 /*wkhtmltopdf在linux服务器中的路径/ private static final String toPdf原创 2018-01-10 10:19:51 · 1068 阅读 · 0 评论 -
HTML转PDF上传FTP服务器(2)
生成PDF到本地后,连接FTP服务器 /** * 获得SFTP Channel * @return ChannelSftp Instance,Session Instance * @throws JSchException */ public static Map原创 2018-01-11 15:37:04 · 389 阅读 · 0 评论