首页 > 代码库 > Umbraco 上传文件到另一个文件夹,而不是media files
Umbraco 上传文件到另一个文件夹,而不是media files
If you want to upload there media files to another place in the same instance of IIS, for example a different folder, there are several things you can do.
1) map your other location to the /media folder on your site as a virtual folder in IIS. That will just work out of the box, and all of your existing media files will continue to work if you move them to the location you‘re mapping to.
2) change the path in the file /config/FileSystemProviders.config, look for the virtualRoot parameter. By default, it‘s set to "~/media/", but you can change it.
Umbraco 上传文件到另一个文件夹,而不是media files
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。