Re: Transferring files between computers using php
| From: | Shawn McKenzie | Date: | Fri, 07 Mar 2008 03:02:29 +0000 |
| Subject: | Re: Transferring files between computers using php | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-271107@lists.php.net to get a copy of this message | ||
Rahul wrote:
> I have a small file to be transferred between two computers every few
> seconds. I'm using unix with a bare bones version of php, i.e. just the
> original thing that gets installed when I run "yum install php". As there is
> no webserver on any of these machines, I was wondering if there is a way to
> transfer a small file between them and if there is, could someone be kind
> enough to provide me with an example please?
>
> Thank You
>
>
This is much easier using unix/linux commands than using php. Any
reason for using php instead of scp /path/file user@host:/path/ or other
facilities?
-Shawn