<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ftpupload.aspx.cs" Inherits="Webdisk.ftpupload" %>
<% @ Import Namespace="Webdisk" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<link href="<%=xml.GetStyle()%>" rel="stylesheet" type="text/css">
   <script>

       function IsRegUser_callback(res) {
           window.location = "ContentPane.aspx?path=" + document.getElementById("path").value;
       }
  </script>
 <script language="javascript"   for='Chair3FtpClient21'   event='UploadCompleted(nErrorNum,sFileName)'>   
   if (nErrorNum<0 )
     alert( "上传失败：" +sFileName  );
   else
     Webdisk.ftpupload.pro(sFileName,document.getElementById("path").value,IsRegUser_callback);  
  </script>
	<title>上传文件</title></HEAD>
	<body>
		<div>
		</div><br>
	    <TABLE cellSpacing="0" cellPadding="0" width="98%" align="center">
          <TR>
            <TD width="5" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_01.gif" width="5"></TD>
            <TD width="874" background="pics/wenbenkuan_02.gif"><IMG height="5" src="pics/wenbenkuan_02.gif" width="5"></TD>
            <TD><IMG height="5" src="pics/wenbenkuan_03.gif" width="5"></TD>
          </TR>
          <TR>
            <TD background="pics/wenbenkuan_04.gif">&nbsp;</TD>
            <TD class="tablebg" background="pics/wenbenkuan_05.gif"><TABLE width="100%">
                <TR>
                  <TD width="100%" class="tabletop"><img src="pics/pick.gif" align="absmiddle"> 上传文件&nbsp;&nbsp;&nbsp;&nbsp;<a href="javascript:history.go(-1);"><img src="pics/link_back.gif" border="0" align="absmiddle"></a></TD>
                </TR>
                <TR class="tablebg">
                  <TD><div align="center">
                    <form runat=server>
                      <TABLE cellSpacing="0" cellPadding="4" width="100%" border="0">
                        <TBODY>
                          <TR>
                            <TD><H3>路径:
                                  <asp:label id="txtpath" runat="server"></asp:label></H3>
                                  <input name="path" type="hidden" id="path" runat="server">
                            </TD>
                          </TR>
                          <TR>
                            <TD height="25"><OBJECT id=Chair3FtpClient21 classid=clsid:33F62F45-A58D-46DA-AD55-DFAF8C97C2B3 codebase="ActiveX/Chair3FtpClient2.cab#version=1,0,1,0"> 
  <param name="IDStr" value="<%=para %>"> 
  </Object> </TD>
                          </TR>
                          <TR>
                            <TD><p><font color="#FF0000">使用说明：</font><font color="#0000FF">如果发现“选择多个文件”按钮不能点击，您可以尝试以下两种操作中的一种：</font><BR>
                                    <BR>
                                    <font color="#0000FF">方法1.</font>下载客户端ActiveX控件并执行压缩包中的install.exe进行安装，然后刷新本页面。<A href="ActiveX/Chair3FtpClient2.rar">点击这里下载</A>（34K）<BR>
                                    <BR>
                                    <font color="#0000FF">方法2.</font>设置IE安全属性，将下载未签名的ActiveX控件改成“提示”，然后刷新本页。<A href="pics/show.jpg" target="_blank">详细请看图示</A><BR>
            Windows XP（SP2）客户端：XP下IE会阻止ActiveX的安装。解决办法：鼠标左键单击IE地址栏下的黄色条。然后鼠标左键单击安装ActiveX。</p></TD>
                          </TR>
                        </TBODY>
                      </TABLE>
                    </form>
                  </div></TD>
                </TR>
            </TABLE></TD>
            <TD width="5" background="pics/wenbenkuan_06.gif"><IMG height="5" src="pics/wenbenkuan_06.gif" width="5"></TD>
          </TR>
          <TR>
            <TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_07.gif" width="5"></TD>
            <TD background="pics/wenbenkuan_08.gif"><IMG height="5" src="pics/wenbenkuan_08.gif" width="5"></TD>
            <TD><IMG height="5" src="pics/wenbenkuan_09.gif" width="5"></TD>
          </TR>
        </TABLE>
	</body>
</HTML>

