hi there,
i'm looking about the possibilities to set a system wide weblink expiration date
when my mate generates weblink, this link still valid for 3/6/12 months , and automatically WingFTP server kills expired link
cause i've found 30 pages of old links, and manually cleaned it
Default expiration for Weblinks
-
- Site Admin
- Posts: 2115
- Joined: Tue Sep 29, 2009 6:09 am
Re: Default expiration for Weblinks
OK, you need to modify the file "webclient/main.html" for your requirement, find the following line first:
$("enable_weblink").focus();
Then insert the following code after that line:
$("expiretime").value = "<%=os.date("%Y-%m-%d %H:%M:%S",os.time()+3600*24*30*3)%>";
$("enable_weblink").focus();
Then insert the following code after that line:
$("expiretime").value = "<%=os.date("%Y-%m-%d %H:%M:%S",os.time()+3600*24*30*3)%>";