fldigi/scripts/ftp_kml_files.sh
Remi Chateauneu 2b9f6af619 KML/Synop/RTTY/Navtex
* Synop decoding in RTTY mode in reception buffer, in red.
  * Creation of KML file for Synop data.
  * Creation of KML file for Navtex messages.
  * User locator displayed in KML.
  * Multiline Synop and Navtex messages displayed in Adif logs.
  * Added flsynop program as stand alone Synop decoder.
  * Fixed Navtex default stations filename and Italian stations.
  * Fixed Navtex frequency error.
  * Added KML tab in configuration menu.
  * Added parameters files for Synop decoding.
  * Fixed CoordinateT type for different deserialization.
  * Less logging messages from subthreads, because they might crash.
  * Added try/catch blocks in main program.
  * Can reload previous KML files at startup.
  * Named WMO code tables in Synop decoding.
  * Synop data can be logged to Adif files.
  * flsynop can load kml files from one dir and save them elsewhere.
  * Added strreplace and strcapitalize.
  * Added Levenshtein distance for future use.
  * Added class QsoHelper to ease Adif logging.
  * East longitude positive, West negative. Fixes Navtex detection.
  * Chars '=' or ';' used as a Synop end-of-section marker.
  * Added option command in KML tab executed on KML file save.
  * Reverse mode now saved in configuration.
  * Comments in DOxygen syntax.
  * Kml snippet stored once only per placemark.
  * Code more compatible with Eclipse parsing.
  * Synop decoded text can be interleaved with 5-digits groups.
  * KML balloons can be in simple tables, matrices or plain text.
  * Adif messages are saved in the main thread.
  * Starts external command only if KML file was saved.
  * Maximum KML data retention time is ten years, default 0 is no limit.
  * Do not reload KML files when changing KML parameters.
  * User kml file does not grow at each fldigi start.
  * Relative humidity always parsed with Celsius temperature.
  * Empty KML files are created on startup if not there.
  * Prepared porting processes functions to Mingw.
  * Added script for FTP transfer of KML files.
  * Added synop_tool
  * Navtex now has reverse mode.
  * Data files can be updated from the Internet.
  * HTTP load without anymore because crash in Wine
2013-08-02 18:34:00 -05:00

47 lines
795 B
Bash
Executable file

#!/bin/sh
# This script copies KML files created by fldigi, to a remote machine,
# where the resulting URL can be given to Google Maps.
# The script path name ùust be entered in the parameter "Command"
# of the KML configuration tab. it will started each time new
# KML files are created or updated.
HOST=$1
if [ "$HOST" == "" ]
then
read -p "Host name:" HOST
fi
USER=$2
if [ "$USER" == "" ]
then
read -p "FTP user:" USER
fi
PASSWD=$3
if [ "$PASSWD" == "" ]
then
read -p "FTP password:" PASSWD
fi
DIRECTORY=$4
if [ "$DIRECTORY" == "" ]
then
read -p "FTP target directory:" DIRECTORY
fi
cd ~/.fldigi/kml
#cat > toto <<END_SCRIPT
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
cd $DIRECTORY
prompt
mput *.kml
quit
END_SCRIPT
cd -
echo "FTP remote copy to $HOST done"