Who rated this post

cancel
Showing results for 
Search instead for 
Did you mean: 
HeikoAnkenbrand
Champion Champion
Champion

 

Use this script - you need to modify it a little - and start it via a cronjob.

 

#!/bin/bash
FTPSERVER="1.2.3.4";
FTPPW="password";
FTPUSER="username";

echo "
verbose
user \$FTPUSER \$FTPPW
bin
lcd  /var/log/opt/CPsuite-R81.10/fw1/log
put "<name of the logfile>"
bye
" | /usr/bin/ftp -in \$FTPSERVER > /tmp/test 2>&1;

 

 

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips

View solution in original post

(1)
Who rated this post