Need php code to retrieve a directory list and download a file from a suppliers secure server to my server.
If reading the directory list is not possible, return a true / false if the specified file does not exist.
Code should contain variables for the username / password / urls / array of file names required ( max 10 files ) / local target path, etc.
Am using Linux , PHP Version 5.3.3-7+squeeze15
The documentation that I have from the supplier includes :
HTTPS uses HTTP but additionally activates Web server security, in the form of Secure Sockets Layer (SSL). This means that the communications between the client and the (host) Web server are encrypted and, additionally, that the host Web server may be validated by the client using a Digital Certificate on the server.
An https DNS is supplied.
Usage : Customers will have to request a wsdl file from the web service using the specified url below or load the file using xml below. Use that wsdl to generate a proxy client that will communicate with the service.
A WSDL definition is supplied in xml.
Port 443 is open on the server.
My script runs on a shared server, and no configuration changes can be made to the server or php on the server.
I am not able / allowed to give the coder the username or password, so I will have to do testing and feedback results to the coder.
Please specify in your reply the hours you expect coding to take.