Re: CakePHP Image Upload and Remote Delete

2012-06-27 Thread Miles J
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


Re: CakePHP Image Upload and Remote Delete

2012-06-26 Thread Dr. Tarique Sani
Create an authenticated API on B which you can call from A

HTH
Tarique

On Mon, Jun 25, 2012 at 8:09 PM, 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+unsubscr...@googlegroups.com For more options, visit this group at
> http://groups.google.com/group/cake-php



-- 
=
PHP for E-Biz: http://sanisoft.com
=

-- 
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php


CakePHP Image Upload and Remote Delete

2012-06-25 Thread GerarD
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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php