to FRANKLIN
Did you actually got it working ,all files are saved in day folder now?
Can you see it from web in pbx>monitoring?
Please let me know
Here some FTP upload sync way for you -))
dicko wrote:
ftp transfers are somewhat hard to script, you should probably wrap the session with 'expect'
basically a recipe I offer:
yum -y install expect;while ! false ; do man expect;man autoexpect;read -p "get it yet ?" ;done
then wait for brain to kick in . . . .

regards
dicko
Look like lftp may sute you to
just go
yum install lftp
creat file sync in home dir
nano ftpsync
lftp -u yourFTPusername,yourpassword ftp.provider.com/MyLinuxPC/
mirror -R -v /var/spool/asterisk/monitor/ .
mirror -R -v /var/spool/asterisk/voicemail/.
quit
then create MyLinuxPC folder in your ftp dir
after that you can run it with
lftp -f ~/ftpsync
All of the files in your chosen folder will be uploaded to FTPdrive. When you next run the command, only the changed files will be uploaded. When you’re happy with the script and once the first upload has completed, you can add the script to your crontab to schedule it to run every hour. Just type the command:
crontab -e
And add the following line to your crontab file:
0 * * * * lftp -f ~/ftpsync
This will tell your system to run the script every hour, on the hour, so your files are being constantly backed up. Make sure you’ve completed that initial upload first though – as if your upload takes more than an hour then you’ll end up with two versions of lftp running and both syncing the same files.
taken from
Links hidden for unregistered users. Login or register Here
looks like a good solution may be the one you looking for