假设对方的文件夹是允许你访问的,那么你直接可以通过FTP的方式下载某个指定文件夹中的全部文件,然后删除原来的文件夹以及全部内容,并且创建新同名文件夹,拷贝全部文件进入即可。
可能需要暂停IIS或者服务器运行,否则网站无法做到立即更新。
这一切可能需要通过Windows Service而不是单纯的ASP.NET可以完成。
http://blog.csdn.net/gavin_luo/article/details/3906779
If you think one reply solves your problem, please mark it as
An Answer, if you think someone's reply helps you, please mark it as a
Proposed Answer
Help by clicking:
Click here to donate your rice to the poor
Click to Donate
Click to feed Dogs & Cats