Home Our Family Favorite Links Ham Radio
 

 

BAT Widget

BAT for Batch File

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

  1. Create a folder “C:\Widget” on the local hard drive

  2. Extract the contents of the "BAT Widget.zip" file into the newly created Widget folder

  3. Create a sub folder C:\Widget\Archives

  4. Within MMSSTV select the 'History' Tab

  5. Right click in the image area and select "Auto copy to another folder"

  6. Right click again in the image area and select "Assign another folder name"

  7. Enter the new folder "C:\Widget"

  8. Right click on the sstvcam.bat file in the new folder and select "Edit"

  9. Edit the second line after the FTP_Script.txt to meet your ftp server name.
    Example "ftp -s:FTP_Script.txt   ftp.qrz.net"

  10. Right click on the FTP_Script.txt file in the new folder and select "Edit"

  11. Edit the first, second and third lines to meet your ftp server requirements

Download BAT Widget

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.

 

 

www.ke5rs.com

Copyright © John & Dena's Page 2003-2006
Page Updated February 03, 2008

Thank You