在asp.net的多个文件夹中上传文件 [英] upload a file in multiple folder in asp.net

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

问题描述

我应如何在多个路径或不同文件夹中上传文件..

how shall i upload a file in multiple path or different folder..

推荐答案

好吧,以与您对一个路径相同的方式进行操作! >
您需要确保的是只有很少的一组有效路径在其上配置了适当的权限.
Well, In the same manner as you do for one path!

All you need to make sure is you have few set of valid paths on which proper permissions are configured.


配置所有路径.如果要使用代码创建文件,请在一个位置创建文件,然后将其复制到所有其他位置.如果要从文件打开"对话框中获取文件,则该文件很简单,保存在所有位置:-).
Configure all the paths. if you are creating the file in code, create the file in one location and copy the same to all other locations. if you are getting the file from fileopen dialog, then its simple, save in all the locations, :-).


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

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