1. Download
7-Zip, a free archive utility that supports command-line extract of ZIP files.
2. Build a script file to connect to your FTP site and download the ZIP file in question. Here's a
guide that explains things. I made this sample script using Mozilla's website as an example:
open ftp.mozilla.org
anonymous
test@email.com
cd /pub/mozilla.org/firefox/releases/2.0/linux-i686/en-US
get firefox-2.0.tar.gz
quit
3. Determine the command line commands necessary to unzip the downloaded file via the command line. Type "C:\Program Files\7-Zip\7z.exe" in a command window to get the syntax. I used
"C:\Program Files\7-Zip\7z.exe" x C:\firefox-2.0.tar.gz -oC:\temp
to extract the downloaded file from step 2 to C:\temp.
4. Build a DTS package to import the extracted CSV in step 3 into your database.
DTSRun.exe can execute this package via the command line.
5. Build another FTP script to upload the unzipped images to a remote FTP server.
6. Place the commands in steps 2-5 in a batch file.
7. Add the batch file to your scheduled tasks in Control Panel.