I need help with reading a csv file from a folder. The file is sent to the folder via ftp after every 10minutes. The script I want should then read this file almost at the same interval. The file name is dynamic so there is a possibility that these files may accumulate over time. I have thought of deleting the file once it has been read from so that there is only a single file at any given moment.
Your help will be highly appreciated.