Re: Copying an image from one server to another
| From: | ioannes | Date: | Tue, 05 Feb 2008 19:33:42 +0000 |
| Subject: | Re: Copying an image from one server to another | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44578@lists.php.net to get a copy of this message | ||
OK, so how would I hand over the list of files from php to the script? And am I right that I would write the rsynch code in a text file called anything.txt and the
rsync
at the start of the line is what calls up the rsynch program, unlike php where you need to call it something.php - though I have never questioned that assumption.
Or is there a way to call rsynch from the same scrpit that php is in? I can't visualise it.
John
John
Mr Webber wrote:
The pattern in you --include-from=FILE_CONTAINING_FILENAME_PATTERNS could be just a list of files that you can generate from your PhpScript. Get it now? --