Hello,
Sorry for the newbiness of this question.
When I run the following:
<?
$fp = fopen("ftp://....@ftp.allenpress.com/htdocs/deleteMe.txt", 'w');
fwrite($fp, '1');
fclose($fp);
?>
I get this:
Warning: fopen("ftp://...@ftp.allenpress.com/htdocs/deleteMe.txt","w") - No error in c:\program files\nusphere\apache\nsdocs\angle\write.php on line 2
Warning: Supplied argument is not a valid File-Handle resource in c:\program files\nusphere\apache\nsdocs\angle\write.php on line 4
Warning: Supplied argument is not a valid File-Handle resource in c:\program files\nusphere\apache\nsdocs\angle\write.php on line 6
fopen to the ftp works fine, but when I try to read and write...
I've tried using "wb" as an argument to the fopen, same thing happens. I know I have access to the files. Any ideas?
Thank you so very much in advance!
Ted