如何创建 ASP.NET 网页来管理文件夹和文件以加载和读取到外部服务器?
我需要创建一个管理共享文件夹的网页,这意味着您可以上传和下载文件,这些文件最好是 pdf 且具有一定的大小。该共享文件夹具有安全性,因此必须使用用户密钥以任何方式访问。
我需要知道是否有某种类型或某种方法可以在 ASP C# 中轻松执行,为我提供查看文件夹及其创建的文件并在新文件夹中上传新文件的选项。
为了制作这个网站,我将感谢您的帮助和建议。
I need to create a Web page that manages a shared folder, which means you can upload and download files, these preferably pdf and a certain size. This shared folder has security therefore must be accessed in any way with user key.
I need to know if there is some sort or some method easy to perform in ASP C#, give me options to view folders and their files created and upload new in a new folder.
I would appreciate your help and advice in order to make this website.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
使用 System.IO.DirectoryInfo 和 System.IO.FileInfo 处理 .NET 中的文件系统。
以一种方式使用“System.IO.FileStream”从二进制数据(流或字节[])创建新文件
Use
System.IO.DirectoryInfo
andSystem.IO.FileInfo
to work with a file system from .NET.Using 'System.IO.FileStream' in one way to create new files from binary data (stream or byte[])
简单的方法是使用第三方控件,例如 FileUltimate
或者,您可以使用 System.IO 中的实用程序类构建自己的自定义文件管理器 和用于文件流的 HttpResponse 类
Easy way would be to use a third party control like FileUltimate
Or you can bulid your own custom file manager by using utility classes in System.IO and HttpResponse class for file streaming