Re: no reponse -- Need FTP help
| From: | David Minor | Date: | Fri, 13 Apr 2001 04:09:01 +0000 |
| Subject: | Re: no reponse -- Need FTP help | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-48405@lists.php.net to get a copy of this message | ||
hmm, good idea, but the only access I have to the remote machine is ftp.
Can't put a script on it. I am getting the feeling that I actually have to
move the file(s) from the user's machine to my server and then transfer them
to the FTP site? I was hoping there would be a way to transfer directly
from the user to the remote FTP site. But now that I think about it, I
guess probably not. so the trick would be to let the form upload them to
/tmp and then move them to the remote site. Takes twice as long. :( I'm
talking about 10-15 MB at a time while the user waits for confirmation.
That's a long wait (even moving it once). Any ideas?
dm
Plutarck wrote:
>
> Or you could just put a PHP script on the target server that will take the
> input via GET and store the data for you. So you don't even have to use FTP.
>
>
> --
> Plutarck
> Should be working on something...
> ...but forgot what it was.
>
>
> "Lindsay Adams" <lindsay@dingos.net> wrote in message
> news:B6FB97D6.4D1D%lindsay@dingos.net...
>> sure.
>>
>> keep track of the files on the server drive, then open a connection using
>> fopen() and fputs the contents of each file.