I am trying to get (ftp) file from one of the web site. I want to delete the file after the file is transferred completely.
I want to make sure that I get only current date ( MMDDYYYY) file appended at the end of the file name.
File Name : XXXXX_MMDDYYYY SIZE: 12457878 bytes
I am using "curl" command. Also, I would need the file size so that I can compare file downloaded file size.
Any help is appreciated.
Thanks.