Re: copy problem with HTTP wrapper
| From: | Manuel Lemos | Date: | Fri, 27 Jan 2006 13:19:01 +0000 |
| Subject: | Re: copy problem with HTTP wrapper | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-229364@lists.php.net to get a copy of this message | ||
Hello,
on 01/27/2006 11:07 AM Laurent Vanstaen said the following:
>> > I see your point. Here in my case the server I want to copy a file on
>> > has 192.168.1.1 for IP address and thus cannot be found from outside a
>> > LAN, so the security problem is not that much important. But I agree
>> > with you and see what you mean.
>>
>> You may want to try sending files via form upload. Then on the
>> destination end the you could have a PHP script that would take care of
>> authentication and receiving and storing the uploaded files.
>
> The destination server doesn't have PHP ....
It that case you need to use a different kind of file server support.
For instance, if it has Samba (Windows like file shares), you can try
this other class:
http://www.phpclasses.org/smbwebclient
--
Regards,
Manuel Lemos
Metastorage - Data object relational mapping layer generator
http://www.metastorage.net/
PHP Classes - Free ready to use OOP components written in PHP
http://www.phpclasses.org/