ZhiYeJianKang_PeiXun/Song.Site/Check/Writer.aspx
2025-02-20 15:41:53 +08:00

28 lines
1.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Writer.aspx.cs" Inherits="Song.Site.Check.Writer" %>
<!DOCTYPE html>
<html>
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="btnWriter" runat="server" Text="测试写入文件" OnClick="btnWriter_Click" />
<asp:Label ID="lbScuess" runat="server" Text="权限设置正确!" Visible="False"
ForeColor="#006600"></asp:Label>
<br />
</div>
<hr />
测试系统是否拥有写入权,如果没有写入权限,则无法正常上传文档!
<br />
点击上述按钮将在系统设定的上传文件夹中默认是Upload创建一个文本文件如果正常创建则说明有写入权限。
<hr />
<asp:Panel ID="plError" runat="server" Visible="false">
<asp:Label ID="lbError" runat="server" Text="没有写入权限!" Font-Bold="True" ForeColor="Red"></asp:Label><br />
<asp:Literal ID="ltError" runat="server"></asp:Literal>
</asp:Panel>
</form>
</body>
</html>