The batch file could complete before what it has called completes or not, depends on if another command is called. The map completes after a certain time, whether or not the batch completes, unless you use the -poll option to force the map to wait (basically increasing the time out). You can use secure FTP if you purchase the Security Option.
It also depends on the level of security. FTP supports a command file. You can call the OS' FTP client via batch or shell script, and it will process the FTP command file.
This is used when the FTP process does not follow the RFC.
What you do is go to a command prompt and type FTP and then every subsequent step, one by one. Copy that transaction and save to a text file. Then call the OS FTP in a batch file, with the command file as an option on the FTP command line.
So clients have a map that updates the command file as needed, before the batch adapter call.
BocaBurger
<===========================||////////////////|0
The pen is mightier than the sword, but the sword hurts more!