I am looking for a solution to send some files by FTP to our clients server, this would be scheduled job.
The biggest thing is that I need error handling so if it was to fail transmission a btach process would be executed that sends me an email (would use Blat for that part)
I have written something to do this in the past using proprietary software, this basically used the dos FTP command and redirected the output to a temporary text file, after that it read in the text file and parsed it for any errors.
The problem with my old method is that it only send one file per time and was written in closed code so I cannot use that here.
Can anybody help please?
p.s. I am using Windows 2000 server but if I need to install perl or Cygwin etc that is fine by me.
pps. I know FTP is insecure so would re visit this at some point to consider using SFTP