Problem solved, I put the sftp commands inside of a shell script. Since the batch file sftp runs has the name of uscripts.sftp there will be no name collisions with uscripts.sh. jude <jdashiel at shellworld.net>