DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   PHP (http://www.daniweb.com/forums/forum17.html)
-   -   Read and parse and xml file from an ftp server (http://www.daniweb.com/forums/thread80429.html)

Catssuck Jun 8th, 2007 1:17 pm
Read and parse and xml file from an ftp server
 
I am trying to access an ftp server and read an XML file that I can then parse and write certain information to a database.

I attempted to read the XML using Magpie but get an (HTTP Error: Invalid protocol "ftp") error when I attempt to connect to the server. Does anyone know of an rss reader/parser that would allow me to connect to an ftp server to accomplish this task.

Any and all suggestions would be most welcome!

Cheers

Catssuck Jun 8th, 2007 4:02 pm
Re: Read and parse and xml file from an ftp server
 
I figured it out.
Using the php ftp functions I copy the xml locally and then parse it from my web server.


All times are GMT -4. The time now is 2:35 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC