Hi guys,
I’m trying to do the following with PHP
- A program from a server running MyDesktop sends a new XML file (commaus_2016-03-09_09-18-20_26.xml) to my webserver at “/mydesktop/xml/”
- Old comm file is deleted (commaus_2016-03-09_08-15-10_25.xml)
- New XML file (commaus_2016-03-09_09-18-20_26.xml) is renamed to “ready-for-wpimport.xml”
- Wordpress looks for the XML file (ready-for-wpimport.xml) and imports it via CRON within wordpress
Is this possible to code with PHP or should I be looking elsewhere?