Re: cURL does not work with new web host
A few possibilities:
- The host which you are attempting to connect to is not accepting FTP connections (test from another machine to confirm)
- The host which you are attempting to run the cURL script from has blocked outbound FTP traffic (try a file_get_contents() call for an HTTP file and, if it succeeds, try FTP with the username/password embedded in the URI)
- The host which you are attempting to connect to is not accepting FTP connections from the host running the cURL script
__________________
Dan LeFree | Product Manager (Linux VPS Hosting) | Owner/Operator (Web development, marketing)
|