We FTP out files to another server hourly. But before we can FTP to the other server. That server should send our server a "confirmation file" to tell us that they're ready to receive data. If they don't send the confirmation file, the files on our server should just stay until the next confirmation file. After sending the files to the other server, our script is supposed to delete the "confirmation file".
A script (with .scr filename) runs a shell script (with .sh filename). The shell script is the one which is supposed to delete the "confirmation file" after FTPing the files to the other server. Our problem right now is that the file that's supposed to be FTPed to the server is successfully FTPed BUT the "confirmation file" does not get deleted in the directory.
Any ideas on why a file does not get deleted by a shell script?