Maybe prefixing commands inside an ftp script with exclamation point and running those commands as shell commands inside the original script might solve the missing close problem, I'll try it and find out. jude <jdashiel at shellworld.net>