Coding For Online Success

June 7, 2009
by admin

FTP’ing files from CJ’s FTP server to your host

I had a few people email me about my Parsing XML CJ Product Feeds article regarding how to FTP the file to your server. You can use various FTP function depending on how your PHP is configured. I used wget to grab the files. It was easier to gather all of my feeds. To do this, you’ll need to use PHP’s exec() function to execute the wget program on the server (assuming you have access and permissions to use wget via script).

Continue reading