This LBRS Backup folder contains folders,batch file templates and Script FTP software required to run FTP updates for LBRS data.

The _1234.bat file is the primary script that calls the _n*.bat scripts. Each .ftp executes files within each LBRS County's batch folder (_bat). This is scheduled to run on GIS-PC003 on a monthly basis.
 
The _1234.bat first runs _1FTP.ftp which calls the County .ftp scripts connect to the vendor's data server and sync the data folders with the files on the SAN (\\gisprodapp05/gissan1 mapped as drive "X") in the X:\COUNTY\LBRS folder. The .ftp file uploads the files to the workspace folder (_ws) within each county directory. 

First the _1234.bat script calls _1FTP.bat which executes the _ftp.bat in each county's _bat folder.

The _1234.bat script calls __2EXTRACT.bat which executes the _ExtractZipMove.bat in each county's _bat folder.  _ExtractZipMove.bat extracts the files from their archives, adds projection information from the file in the _prj folder, renames the files with to the state's naming covention, moves the centerline, address, landmark, and railroad crossing files if the exist to the \LBRS\_shapes folder where they are ready for loading to SDE. All other shapefiles are moved to the ancilprod folder within _shapes. All files remaining in the \CountyName\_shapes folder are deleted. 

The _1234.bat script calls the _3ARCHIVE.ftp script which calls the County's  _ArchiveExistingEXE.bat to create a dated archive of the latest zip files.

The _1234.bat script calls the _4ZIP2DOWNLOAD.ftp which copies txt files containing file creation dates to the _download folder and creates the corresponding LBRS zip files that are loaded to _downloads for distribution.

Individual processes can be run independently and individual counties can be run from the .ftp file within the county's _bat folder as well.

To add a new county to the process copy the New County Folder located at X:\COUNTY\_LBRS_batch_BKUPS\New County Folder to X:\COUNTY\LBRS\ and replace the instances of "CountyName" in the _ExtractZipMove.bat  and _ArchiveExistingEXE.bat with the name of the county in proper format (i.e. Adams),  The same thing must be done with the_1FTP.ftp , _2EXTRACT.ftp , and _3ARCHIVE.ftp files.  Replace the instances of "CNTY_" with the 3 letter county code (i.e. ADA_ ) in the .ftp file and both .bat files in the county folder. 

If the FTP is for a server other than DDTI the connection parameters in .FTP and the extraction parameters will need to to modified accordingly.