FTP'ing via a .sh, can you log what happens?
I have a .sh that does some FTP'ing for us, a modified version of it at the bottom.
The script runs very early in the morning, and sometimes doesn't work. Is there an option or something I can add in somewhere to where it'll log what it does or any errors it gets? I'd just like it to maybe write to a file i could read in the morning at a reasonable hour, then it would just overwrite that file every day, so i dont end up with some massive log file since i'd only really need to see the info from the night before.
ftp -n -i 126.96.36.199 << EOF
user username password