<% local all_lang = {"english","french","german","italian","dutch","portuguese","spanish","schinese","tchinese","japanese","czech","romanian","turkish","korean","polish"} if _GET["lang"] ~= nil then for _,val in pairs(all_lang) do if _GET["lang"] == val then setcookie("client_lang",val,os.time()+3600*24*365) break end end if _COOKIE["client_lang"] == nil then _COOKIE["client_lang"] = "english" end end include("language.html") local nType = c_GetLicenseInfo() local client_login_name = _COOKIE["client_login_name"] or "" client_login_name = specialhtml_encode(client_login_name) local imageDate = c_GetFileTime(c_GetAppPath().."/webclient/images/"..c_GetDomainLogo()) if _SESSION["username"] == nil then %> Wing FTP Server - Web Client

Web Client

"> ">

"> ">

">
onclick="switchcheckbox()" style="margin-right:5px;"><%=LANG["remember"]%>

<%=LANG["button_downpicture"]%> App

">

<% if nType == 4 then %> FTP server software powered by Wing FTP Server v<%=c_GetVersion()%> <% else %> Wing FTP Server ©2003-2025 wftpserver.com All Rights Reserved <% end %>
<% else local enableTwoFactor, twoFactorCode = c_GetSecretCode(_SESSION["username"]) if enableTwoFactor ~= nil and enableTwoFactor == true and _SESSION["currentpath"] == nil then rawset(_SESSION,"logintime",os.time()) if _SESSION["totp_randomkey"] == nil or _SESSION["totp_randomkey"] == "" then rawset(_SESSION,"totp_randomkey",c_TotpRandomKey(_REMOTE_IP)) end SessionModule.save(_SESSION_ID) if twoFactorCode ~= nil and twoFactorCode == "" then %> Wing FTP Server - Web Client
<%=LANG["totp_auth_required"]%> " title="<%=LANG["str_switch_account"]%>">
<%=LANG["totp_init_tip1"]%>
<%=LANG["totp_init_tip2"]%> "".
<%=LANG["totp_init_tip3"]%>
" onclick="return ch()" tabindex="5" />
Wing FTP Server ©2003-2025 wftpserver.com All Rights Reserved
<% else %> Wing FTP Server - Web Client
<%=LANG["totp_auth_required"]%> " title="<%=LANG["str_switch_account"]%>">
<%=LANG["totp_input_tip1"]%>
<%=LANG["totp_input_tip2"]%>
" onclick="return ch()" tabindex="5" />
Wing FTP Server ©2003-2025 wftpserver.com All Rights Reserved
<% end else print("") print("") print("") end end %>