I'm making a remote ftp client. I need to allow the user to download a
remote file from the server of his choice to his local machine, without
first downloading the file to my server (this wastes my bandwidth.)
So far the user can login to a ftp server of his choice, browse the
root dir and change to another dir and browse it.
I've tried ftp_getting a remote file, but ftp_get wants to download the
file to my server.
I've also tried a link like:
ftp://user:pa**@ftp.mydomain.com/thedir/thefile.ext, but that does not
seem to work.
Is there any way to tell ftp_get to send the file directly to the
user's browser, or is there something that I am missing? Or.. is what
I'm trying to do impossible?
SM