Re: [OT] FTP through web page to different server?




"Krusty" <dontwantany@xxxxxxxxxxxxxxx> wrote in message
news:3mlihjF17atv6U1@xxxxxxxxxxxxxxxxx
>I need to do a 'file upload' web page that lets the user select a file
> on their PC, then automatically FTP it up to a different server (NOT
> the web server hosting the upload page) when they hit the 'confirm'
> button.
>
> I don't want to load the file to the web server first then FTP it - it
> has to be a direct FTP from the user's PC to the FTP server without
> them having to do anything other than selecting their local file &
> hitting a button.
>
> Has anyone done this & has the necessary scripts? Google doesn't seem
> to love me anymore.

Unless you wrote an applet to do this - which would have to run with
modified permissions on the punter's PC - I think you're out of luck. Your
file-uploading HTML form could push the file to a different web server than
the one from which the form was served, but that's just pushing the file to
a different web server.

You might be able to write something on the server side to spew out the
uploaded file via FTP as it's being uploaded, without hitting the disk, but
that doesn't sound like what you're after - it's still going through the
webserver, but existing only briefly and in memory.

--
simonk


.


Loading