在webserver中上传图像文件 [英] Upload image file in webserver

查看:103
本文介绍了在webserver中上传图像文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

任何人都可以帮助我!!我无法将图像文件(.jpg)上传到包含文件夹myaccount / images /使用asp.net的网络服务器。



提前致谢。

Can anyone help me!! I am unable to upload image file(.jpg) to web server containing a folder myaccount/images/ using asp.net.

Thanks in advance.

推荐答案

上传文件是最基本的琐事之一。文件的类型并不重要。请参阅:

http://msdn.microsoft.com/en-us /library/aa479405.aspx [ ^ ]。



-SA
Uploading files is one of the most basic chores. The type of the file does not really matter. Please see:
http://msdn.microsoft.com/en-us/library/aa479405.aspx[^].

—SA


请参阅以下链接



如何将文件上传到ASP.NET中的Web服务器。根据您的需要实现它。
Refer to the link below

How to upload a file to a Web server in ASP.NET. Implement it according to your needs.


我们需要在我们上传图像的文件夹上设置写权限。为IIS_User分配写入权限。



[或]



只需添加一个重要的东西,确保我们必须在给定的web.config选项卡中提供域用户。因为它具有共享文件夹权限,并且还将该域用户添加到Web服务器的用户组中。具有与申请流程相关的所有相关权限的用户组,因此我们不需要特别授予任何权限。我们只需要关注共享文件夹权限。
We need to set up Write permissions on the folder where that we are uploading the images. Assign write permission to IIS_User.

[Or]

Just add one important thing that is make sure we have to give domain user in given web.config tab. because that have share folder permission and also add that domain user in the user group of web server. User group having all relavant permissions related to application process, so we dont need to specially give any permission. we just need to take care about the shared folder permission.


这篇关于在webserver中上传图像文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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