`

用ftp自动更新代码

 
阅读更多
创建一个文件autoftp.ftp,内容如下:
open 126.12.012.21
user username
password
cd /home/
binary
Prompt
mput xxxxx.jar
bye
quit
exit


创建bat文件,内容如下
jar cvf xxxxx.jar -C classes com
jar uvf xxxxx.jar -C classes template

ftp -n -s:".\autoftp.ftp"

pause

广东 雨花新村5幢202 飞
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics