Hello,
I am trying to read this file from the ftpserver with fopen:
$fd = fopen("ftp://ftp.suse.de/pub/suse/i386/7.0/suse1/openssls.rpm", "r");
if ($fd)
{ print"The file exists!"; }
else
{ print"The file does not exist"; }
The file exitsts and PASSIVE mode is supported by the server.
But I get this error, when I run the script:
Warning: fopen("ftp://ftp.suse.de/pub/suse/i386/7.0/suse1/openssls.rpm", "r") - Success in /home/www/test.php on line 20
The file does not exist
Do have an idea why it's not working?
thanks,
harry