<?
$fp = fopen ("ftp://user:pass@erikmc.com/test.txt", "w");
$write = fwrite ($fp, "Test Successful!");
?>
I get this error:
Warning: fopen("ftp://...@erikmc.com/test.txt","w") - Success in /home/nflare/nflare-www/php/fopen.php on line 2
Warning: Supplied argument is not a valid File-Handle resource in /home/nflare/nflare-www/php/fopen.php on line 4