I have a .sh unix shell script. I want it to ftp files to the server. The filenames have the datatime stamped at the end of their names so that is always different but the first part of the filename is always the same.
So I want to upload these files to the server.
I have an ftp script, I just need to get the filenames part to work.
Here's the script so far:
FILE=<I need the code here>
ftp -n $HOST <<END_SCRIPT
quote USER $USER
quote PASS $PASSWD
Here are some examples of the files I have:
I need the to upload all 3. So this would be putting all files with "aa_aaa_" at the beginning of the filename.
500 points A grade guaranteed