It is still possible to do get the file using an external ftp command.
Here's what works from my Linux box:
I've created a file called ftpcommands that reads like this:
[tt]open <IP-address or ftp site name>
user <mylogin> <my password>
lcd <directory where the web server can write>
cd <directory where the file sits on foreign FTP server>
bin
get <file I need to get>
quit
[/tt]
The run the following PHP script:
[tt]<?php
exec ("cat ftpcommands | ftp -n", $foo);
?>
[/tt]
[Notice the command on Linux is "ftp -n". That suppresses autologin, which allows the USER line of the ftpcommands file to work.]
If you're on Win32, the similar thing can work, with the following changes:
ftpcommands:
[tt]open <ftp server>
<mylogin>
<mypassword>
lcd <writeable local directory>
cd <directory for file>
bin
get <filename>
quit[/tt]
And the exec() statement should read:
[tt]exec ("ftp -s:<full path and name to ftpcommands>"

;[/tt] ______________________________________________________________________
My God! It's full of stars!
______________________________________________________________________