<%@ page language="C#" autoeventwireup="true" inherits="Transactions_ExportData_FTPConfigurationForORCL, App_Web_buswflca" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>FTP Configuration</title>
    <link href="../css/stylesheet.css" rel="stylesheet" type="text/css" />

    <script language="javascript" type="text/javascript" src="../js/lockkeys.js"></script>

    <script language="javascript" type="text/javascript" src="../js/Popup.js"></script>

    <script language="javascript" type="text/javascript" src="../js/maxLength.js"></script>

    <script type="text/javascript">        
    var MaxLength = "Maximum length is ";
    function MaxLengthh(maxLength)
    { 
        MaxLength=maxLength;  
    }
    </script>

</head>
<body style="background-color: #d3dbe7">
    <form id="form1" runat="server">
        <div>
            <table border="0" cellspacing="0" cellpadding="0" align="center" width="450">
                <tr>
                    <td valign="top">
                        <img src="../Images/corner1<%=Session["Direction"] %>.gif" width="15" height="16" /></td>
                    <td valign="top" background="../Images/sideline.gif" bgcolor="#EAEAEA">
                        <img src="../Images/spacer.gif" width="1" height="1" /></td>
                    <td valign="top">
                        <img src="../Images/corner2<%=Session["Direction"] %>.gif" width="15" height="16" /></td>
                </tr>
                <tr>
                    <td background="../Images/line<%=Session["Direction"] %>.gif">
                        &nbsp;</td>
                    <td valign="top" bgcolor="#EAEAEA">
                        <table border="0" align="center" cellpadding="0" cellspacing="1" width="450">
                            <tr>
                                <td valign="top" colspan="3" class="ModuleTitle">
                                    <asp:Label ID="lbl_Header" runat="server" Text="FTP Configuration"></asp:Label></td>
                            </tr>
                            <tr>
                                <td class="td">
                                    <asp:Label ID="lblAddress" runat="server" Text="Address"></asp:Label><span style="color: #ff0000">*</span></td>
                                <td class="td">
                                    <asp:TextBox onpaste="return true" ID="txtAddress" runat="server" Width="300px"
                                        CssClass="textbox_4" MaxLength="250"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="rfvAddress" runat="server" ControlToValidate="txtAddress"
                                        ErrorMessage="Enter Address" SetFocusOnError="True">*</asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td class="td">
                                    <asp:Label ID="lblUsername" runat="server" Text="User Name"></asp:Label><span style="color: #ff0000">*</span></td>
                                <td class="td">
                                    <asp:TextBox onpaste="return true" ID="txtUserName" runat="server" CssClass="textbox_4"
                                        onkeypress="return chkMaxLen(event,this,100,MaxLength);" MaxLength="100"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="rfvUserName" runat="server" ControlToValidate="txtUserName"
                                        ErrorMessage="Enter User Name" SetFocusOnError="True">*</asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td class="td">
                                    <asp:Label ID="lblPassword" runat="server" Text="Password"></asp:Label><span style="color: #ff0000">*</span></td>
                                <td class="td">
                                    <asp:TextBox onpaste="return true" ID="txtPassword" TextMode="Password" runat="server"
                                        CssClass="textbox_4" onCut="return false" onkeypress="return chkMaxLen(event,this,100,MaxLength);"
                                        MaxLength="100"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="rfvPassword" runat="server" ControlToValidate="txtPassword"
                                        ErrorMessage="Enter Password" SetFocusOnError="True">*</asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td class="td">
                                    <asp:Label ID="lblPort" runat="server" Text="Port"></asp:Label><span style="color: #ff0000">*</span></td>
                                <td class="td">
                                    <asp:TextBox onpaste="return true" ID="txtPort" runat="server" CssClass="textbox_4"
                                        onkeypress="return chkMaxLen(event,this,15,MaxLength);" MaxLength="15"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="rfvPort" runat="server" ControlToValidate="txtPort"
                                        ErrorMessage="Enter Port" SetFocusOnError="True">*</asp:RequiredFieldValidator></td>
                            </tr>
                            <tr>
                                <td align="center" valign="bottom" colspan="3">
                                    <table width="30%" border="0" align="center" cellpadding="5" cellspacing="0">
                                        <tr>
                                            <td align="center" valign="middle">
                                                <asp:Button ID="btnSave" Text="SAVE" CssClass="but" runat="server" OnClick="btnSave_Click" />
                                            </td>
                                        </tr>
                                    </table>
                                    <asp:ValidationSummary ID="vsFTPConfiguration" runat="server" ShowMessageBox="True"
                                        ShowSummary="False" />
                                </td>
                            </tr>
                        </table>
                    </td>
                    <td background="../Images/line1<%=Session["Direction"] %>.gif">
                        &nbsp;</td>
                </tr>
                <tr>
                    <td valign="bottom">
                        <img src="../Images/corner3<%=Session["Direction"] %>.gif" width="15" height="16" /></td>
                    <td valign="bottom" background="../Images/sideline1.gif" bgcolor="#EAEAEA">
                        <img src="../Images/spacer.gif" width="1" height="1" /></td>
                    <td valign="bottom">
                        <img src="../Images/corner4<%=Session["Direction"] %>.gif" width="15" height="16" /></td>
                </tr>
            </table>
        </div>
    </form>
</body>
</html>
