I need a PHP5 CLI script which will run as a cronjob. The script must connect to a remote FTP server, transfer XML files and image files to the local server (stored in two folders), then delete those files from the FTP server. Then parse those XML files and insert the data I need into a MySQL database, then delete those XML files from local server. The format of the XML files is NITF (News Industry Text Format, see attached example - or at [url removed, login to view]). I need the script before this Friday.