Hi, I need help with some code to download a daily file via ftp. The file name is based on date. So for example. 08312010-file.csv 09012010-file.csv 09022010-file.csv etc.. I need the script to download the daily file. Has anybody done this before?
Refer to the PHP documentation for the date function (for the filename) and the readfile function (which will contain an example to download a file).