Best Method for copying files across a domain?
Posted on 2008-10-16
I'm building an ASP.NET external facing web site, which will be under SSL.
We are going to allow our users to upload files to our server via this site.
I need a method of transferring those files from the web server to our internal application server. They will be on the same domain, and possibly even physically in the same room.
What is the quickest and safest method of transferring these files from the web server to the application server, as they are uploaded - e.g not in an over night batch.
I have considered FTP and the System.IO classes. I think FTP is faster, but I'm not sure, especially via the FTPRequest class. The System.IO classes seem simpler to implement.
Can anyone offer advantages & disadvatages of each, or any other methods not mentioned?