我的Web应用程序都在服务器D.因此,我创建一个具有FileUpload控件的Web应用程序。我可以很容易地上传任何文件到Web应用程序中的文件夹(文件)。
我现在的问题:我如何上传同一文件(由code后面)到一个文件夹(上传)不同的服务器(SERVER T),我有吗?我还需要读,写和修改的服务器T.该文件还记得,我使用Web窗体而不是Windows窗体!
有人告诉我一些有关服务器上创建Ð服务器上吨的网络服务帐户的Web应用程序使用,并给该帐户的权限或类似的东西,但他不知道的细节无论是。
有一个教程,指导,因为我敢肯定是有办法做到这一点...
此外,所有我能找到谷歌上用FTP但Windows窗体只...
均田坚持在这里...
解决方案从的这个博客帖子
我们可以做以下事项
My web applications are on Server D. So I created a web application that has an fileupload control. I can easily upload any file to a folder (FILES) inside the web app.
My question now: How can I upload the same file (from code behind) to a folder (UPLOADS) on a different server (SERVER T) that I have? I also need to read,write and modify that file on the SERVER T. Remember that I use Web Forms and not Windows Forms!!!
Someone told me something about creating a Network Service account on server T for the web app on server D to use and give that account permissions or something like that but he doesn’t know the details either.
Is there a tutorial, guide since I'm sure there is a way to do this…
Also, all I can find on Google is using ftp but for windows forms only…
Kinda stuck around here…
解决方案Taken from this blog post
We can do following-
更多推荐
上传文件到另一台服务器
发布评论