I switched hosting accounts from DreamHost to InMotion Hosting... I used to use a script that worked fine on DreamHost but since the switch it creates a xml file but is empty. Any ideas?
<?php
$xml = file_get_contents('ftp://USER:USER@aphrodite.WEB.net/exports/xml/products.xml');
file_put_contents('./pro_data/products.xml', $xml);
?>
I tried php version 5.5-7.0 same thing.