Sorry to be a bother...
Is there a way to get a file from an FTP connection into a variable, as in file_get_contents() but using an FTP stream? All the FTP file functions (ftp_get, etc.) want to save the downloaded file to the server, as far as I could tell.
file_get_contents() doesn't seem to work (PHP 5.0.3, allow_url_fopen is on):
Warning: file_get_contents([url]ftp://...@example.ca/a_real.file[/url]) [function.file-get-contents]: failed to open stream: No error in C:\xampplite\htdocs_rw__test.php on line 33
... but the same server, username, and password can successfully open an FTP connection. Any ideas?
Thanks.