I am running the following ftps command in a bat file (leaving out pwd):
ftps -h web1 -U ciserver -P ***** -ssl All -sslInvalidServerCertHandling Accept -p g:/cis/StagingCIS_vss_metrosearchonline/working/src/Web/* /web/ -r
The bat file is executed from my continuous integration server. The bat file has been tested to run directly from the "run" command as well as directly from a cmd window. All files are copied successfully. When the continuous build server attempts
to run the bat file, however, it only copies the first file in the web folder and then closes the connection with the following error:
"Error: The Handle is Invalid"
My continuous integration server is CruiseControl.net. The following task is part of cruise control's process to run the bat file (it runs after the build task):
<description>ftps - File Deployment</description>