Wednesday, June 27, 2012

Re: CakePHP Image Upload and Remote Delete

So the images on B are on its own local file system?

The only real solution is to make some kind of API call from A using curl that posts to B telling it to delete a certain file.

Or I would suggest moving everything to Amazon S3.

On Monday, June 25, 2012 7:39:16 AM UTC-7, GerarD wrote:
Hi there...

Right now, I have two system using CakePHP on two different servers. System A, is on a local server, while System B is hosted remotly. I need to upload an image in System B and be able to see it on System A. I managed to do this using http://milesj.me/code/cakephp/uploader uploader component, works like a charm. 

Now, the problem is that in some point, I need A to delete that image from B after doing something on my controller. I have no idea how to do this, because there is no way to call an action controller of B from A.

Any ideas.?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: