Upload a file to multiple servers
<p>I see a ton of questions about uploading multiple files, but none about uploading a single file to multiple servers, so here goes...</p>

<p>I have an ASP.NET app that will be running on two load balanced servers, and I would like to allow users to upload files and have them end up on both servers. What is the cleanest way to do this? I am using IIS 6 btw.</p>

<p>Some ideas that come to mind are:</p>

<p>1) Use a virtual directory that points to some shared location that both servers can access. Will there be any access issues if the application runs at Network Service? I'm assuming the application will need to run as a user account that exists on the shared location machine. How should the permissions be set for this?</p>

<p>2) It would be nice if I could via jQuery post the request to both of my servers, referencing them by their port numbers. Even though the servers are on the same domain, this violates the same origin policy, right?</p>

<p>Is there another solution I'm overlooking? How do other sites do this?</p>
