I’ve just been tasked with abstracting the admin section of a website to its own separate domain on a separate (shared) hosting plan. Part of what the admin section does is upload pictures for products. Now that this admin section is no longer a part of the main domain, how can I upload products onto the main domain from the admin domain?
I’m using ASP.NET/VB.NET.
Thanks
EDIT Let me add that both systems are on shared hosting plans, so I don’t really have any sort of ability to map drives or anything. I was looking for a programmatic way. Is there a way to have one site “call” the other and tell it which files to save onto the server?
If they’re on the same box, you can have one site write to the other site’s file system (given the right permissions). But this sounds like it won’t work in your shared hosting environment, though.
Otherwise, you could provide a URL for the main app to load images from the admin app, just make sure the images are saved to a place where they’re accessible to the public.