What is the best way to transfer files between an ASP.NET site and a PHP site?
<p>I have a web-site, based on ASP.NET, hosted at provider x.
For various reasons, I would like to keep all image files, uploaded by the users, on another site hosted a provider y.
Provider y is PHP based.</p>

<p>What would be the best way to transfer the images from my ASP.NET site on x to the "PHP Store" at provider y? The images come in on the ASP.NET site via web-services and "manual" file uploads.</p>

<p>It is only a "problem" when storing the images, on read the image urls will of course just point to the location on y.</p>

<p>I guess the only way is to create a web-service in PHP that I can call at y with my image from x, but are there other better ways? And if not does, anyone know a link to an example of the required ASP.NET and PHP code for that web-service setup?</p>
