I have this parameters to download a XML file:
wget --http-user=user --http-password=pass http://www.example.com/file.xml
How I have to use
I understand you want to open a xml file using php. That's called to parse a xml file. The best reference is here.
http://php.net/manual/de/function.xml-parse.php