Doug,
I spent some time last night figuring out what you had posted. I got it
down, but I don't know if this is the right solution. What happens here is
some 40 to 50 zip files are put on the ftp site by one of our clients.
Daily, we move the files from the ftp folder another folder where they are
unziped to .dat files. We then use Pervasive SQL to export text files.
Right now, the process is to log into the ftp site, use MoveFile to move the
zip files to a staging folder and upzip them. It looks like I could get the
files then delete them; however, the possibility exists that between the get
and the delete a new file could be put on the ftp site causing that file to
be deleted before it is processed.
Also, I have tried writing a script, but I keep getting an unknown error.