I would recommend you look around on google etc. Every case is a little unique, for the script I created the heart of it is LFTP which I added into my linux box. The real work of transferring is done by this one line
lftp -e "cd user/Backup/weewxbu/;mput weewx.cpy.*;mrm weewx.cpy.$RDATE.gz; bye" -u username,password destIP The -e tells lftp to execute commands, in this case cd to a directory on my ftp server, then copy the file to that directory, then delete the old file as determined by date. the last part of the line is your username, password and the site (IP or hostname) I spent a lot of time on google finding out all about how bash, ftp and lftp work. Read the lftp help file and experiment -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
