Can the fopen(); be used to access a file via a ftp connection like this:
fopen("ftp://username:password@host/filename.xml","w");
Is this possible?
I have seen this and tried it but I get this error all the time
" php_hostconnect: connect failed "
This error I even get when trying to use php ftp commands.
I have checked already and ftp is enabled in the php file.
I just dont understand what is going on.
Any help would be great!?