Since the version 4.7.6, you can backup the customized html file as a ".bak" file, then it will be restored automatically after upgrading (in other word, the customized files won't be overwritten). For example, if you want to customize the file "webclient/login.html", you can modify the html content and save it, then backup that file as "webclient/login.html.bak".
And here are the html files which support auto-restore:
/webclient/login.html
/webclient/main.html
/webclient/login_m.html
/webclient/main_m.html
/webclient/uploadlink.html
/webclient/downloadpass.html
/webclient/weblink_update.html
/webclient/plugins/sendfiles/generate_weblinks.html
Backup the customized html file as a ".bak" file
-
- Site Admin
- Posts: 2104
- Joined: Tue Sep 29, 2009 6:09 am
-
- Posts: 2
- Joined: Thu Oct 06, 2016 12:47 pm
Re: Backup the customized html file as a ".bak" file
after customizing the html code like I have always done, I now get this message displayed to all users who try to access our site "You can modify the html file, but please keep the link 'wftpserver.com' at least."
why?
why?
-
- Site Admin
- Posts: 2104
- Joined: Tue Sep 29, 2009 6:09 am
Re: Backup the customized html file as a ".bak" file
It means please keep some string like "Powered by www.wftpserver.com" in the login page.
-
- Posts: 4
- Joined: Sat May 14, 2022 5:11 am
Re: Backup the customized html file as a ".bak" file
@FTP
Hi:
I added .bak to copies of every file you listed just as you instructed (as such, login.html.bak). Then I upgraded to a higher version, but none of the css customizations carried over. The only thing that remained were user names and the rest of the configuration. Did I misunderstand your directions?
Kenny
Hi:
I added .bak to copies of every file you listed just as you instructed (as such, login.html.bak). Then I upgraded to a higher version, but none of the css customizations carried over. The only thing that remained were user names and the rest of the configuration. Did I misunderstand your directions?
Kenny
-
- Site Admin
- Posts: 2104
- Joined: Tue Sep 29, 2009 6:09 am
Re: Backup the customized html file as a ".bak" file
WingFTP only restores the html file, when installing the new version, the backup file "login.html.bak" will be restored into "login.html".
-
- Posts: 4
- Joined: Sat May 14, 2022 5:11 am
Re: Backup the customized html file as a ".bak" file
In my case, none of the .bak files are used for that purpose. It's as if they're not even there.
I need to understand how to do this correctly:
For example, when login.html.bak is is the folder, does login.html need to be there also, or should the files be there only with the .bak extension?
I need to understand how to do this correctly:
For example, when login.html.bak is is the folder, does login.html need to be there also, or should the files be there only with the .bak extension?
-
- Site Admin
- Posts: 2104
- Joined: Tue Sep 29, 2009 6:09 am
Re: Backup the customized html file as a ".bak" file
Maybe you misunderstood the procedure:
1. You customized the file "webclient/login.html".
2. Just copy the modified file "login.html" into "login.html.bak".
3. When you install a newer version, "login.html.bak" will restore into "login.html" automatically, so "login.html" is still the customized version.
1. You customized the file "webclient/login.html".
2. Just copy the modified file "login.html" into "login.html.bak".
3. When you install a newer version, "login.html.bak" will restore into "login.html" automatically, so "login.html" is still the customized version.
-
- Site Admin
- Posts: 2104
- Joined: Tue Sep 29, 2009 6:09 am
Re: Backup the customized html file as a ".bak" file
Yes, you need to keep the "Powered by" string. If you are a paid user, please contact us via email for the details.