Suppose this is my website url: http://www.mydomain.com. And I have created one subdomain name as http://img.mydomain.com.
Now I want to upload image from my site http://www.mydomain.com to my subdomain http://img.mydomain.com through code.
Is it possible to upload image from website to subdomain?