将文件上载到IIS文件夹 [英] Uploading a file to IIS folder

查看:111
本文介绍了将文件上载到IIS文件夹的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


嘿......我不是编程方面的专家。


我想将文件[text或jpeg。]上传到在IIS中创建的虚拟目录。 [例如:wwwroot \ uploadsfiles。


我在客户端使用WebClient和POST方法。在这种情况下,我可以在没有任何服务器端脚本的情况下上传文件吗?


有没有办法在不编写任何服务器端代码的情况下将文件上传到IIS目录?


谢谢

解决方案

您需要在服务器端编写一些代码,或者您可以在IIS中使用FTP或Webdav如下所述


http://stackoverflow.com/questions/8232033/use-http-post-to-send-file-to-iis-7-5-virtual-directory


Hey... I am not an expert in programming.

I want to upload a file [text or jpeg.] to a virtual directory created inside IIS. [eg: wwwroot\uploadedfiles.

I am using WebClient and POST method in my client side. In this case , can I upload the file without having any server side scripts?

Is there any way to upload files to an IIS directory without writing any server side codes?

Thanks

解决方案

You will need to write some code at server side or you can use FTP or Webdav with IIS as explained here

http://stackoverflow.com/questions/8232033/use-http-post-to-send-file-to-iis-7-5-virtual-directory


这篇关于将文件上载到IIS文件夹的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆