如何创建 ASP.NET 网页来管理文件夹和文件以加载和读取到外部服务器?

发布于 2024-12-22 12:36:54 字数 196 浏览 5 评论 0原文

我需要创建一个管理共享文件夹的网页,这意味着您可以上传和下载文件,这些文件最好是 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

姐不稀罕 2024-12-29 12:36:54

使用 System.IO.DirectoryInfo 和 System.IO.FileInfo 处理 .NET 中的文件系统。

以一种方式使用“System.IO.FileStream”从二进制数据(流或字节[])创建新文件

Use System.IO.DirectoryInfo and System.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[])

旧故 2024-12-29 12:36:54

简单的方法是使用第三方控件,例如 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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文