I am not a shell script programmer. The following is the situation, a little Unix Shell script takes care of setting up a filetransfer connection, FTP of a file, shutdown the connection en move the file to an other folder (Archive). The script is started unattended during the night.
There is no redirection of each performed line command acknowledgement line to a log file. In the morning I onle can see a moved to Archive file, but never a confirmation if the FTP was succesfull. What do I need to do to capter the line command confirmation in a log file?