|
|
 |
Re: FN-FORUM: PHP copying files through FTP
date posted 2nd August 2005 12:41
On 2 Aug 2005 12:07:56 -0000, [EMAIL REMOVED]
[EMAIL REMOVED] wrote:
>=20
> Hi All I was reading up on some mirroring / file copying functions using
> PHP and wonder whether I can use this copying/mirroring function for a
> small problem I have.
>=20
> I upload some images to a site which in turn are used on another site.
> (can't use the paths as they are defined in the config for respective
> domains) So I looking at ways that I can upload the files to 2 different
> locations in just one hit, or have a routine run in the background to cop=
y
> the files from one server to another
Yeah, you could write a small ftp mechanism to upload a second copy
onto a remote server every time the upload form is submitted, however
the amount of execution time this may take could be pretty long.
If you need any code examples, just ask.
Cheers
Tam Denholm
www.dreadlabs.com
|
 |
|