|
The BAT
Widget is a application that monitors a folder where received SSTV jpg images
are saved. Once the image is saved, the BAT Widget finds the image and triggers
a batch file "sstvcam.bat" in the same folder. The sstvcam.bat batch file script
will first create a copy of the new found image in a sub folder "Archives", logs
onto a website via ftp and uploads the image. Similar to the FTP Widget
except the user has more control of the ftp commands.
The power
of the BAT Widget is in the scripts called. First the logon script and
then the logon script calls the ftp script. In the ftp script, you have
the ability to customize to your needs. The primary purpose to have an SSTV cam
page with a larger number of history images. The default is 9 history
images.
After the
image is uploaded and the history images are all renamed, the ftp script closes
and the last command in the batch file deletes the image on the local drive
already saved in the archive folder. Note that the final delete command in
the batch file will delete all jpg images in this folder. There should
only be the one newly saved image.
BAT Widget
Installation instructions
-
Create a
folder “C:\Widget” on the local hard drive
-
Extract
the contents of the "BAT Widget.zip" file into the newly created Widget folder
-
Create a
sub folder C:\Widget\Archives
-
Within
MMSSTV select the 'History' Tab
-
Right
click in the image area and select "Auto copy to another folder"
-
Right
click again in the image area and select "Assign another folder name"
-
Enter
the new folder "C:\Widget"
-
Right
click on the sstvcam.bat file in the new folder and select "Edit"
-
Edit the
second line after the FTP_Script.txt to meet your ftp server name.
Example "ftp
-s:FTP_Script.txt ftp.qrz.net"
-
Right
click on the FTP_Script.txt file in the new folder and select "Edit"
-
Edit the
first, second and third lines to meet your ftp server requirements
Note to the user:
The BAT Widget has not been tested on all operating systems and may not
work on your system. Requires some knowledge of FTP commands and
batch files. Please check the scripts closely to be sure the BAT
Widget is right for you. |