Page 1 of 1

Backup the customized html file as a ".bak" file

Posted: Wed Sep 28, 2016 6:22 am
by FTP
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

Re: Backup the customized html file as a ".bak" file

Posted: Thu Oct 06, 2016 12:49 pm
by dbono
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?

Re: Backup the customized html file as a ".bak" file

Posted: Fri Oct 07, 2016 2:47 pm
by FTP
It means please keep some string like "Powered by www.wftpserver.com" in the login page.

Re: Backup the customized html file as a ".bak" file

Posted: Sat May 14, 2022 8:12 am
by KennyP
@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

Re: Backup the customized html file as a ".bak" file

Posted: Sat May 14, 2022 1:07 pm
by FTP
WingFTP only restores the html file, when installing the new version, the backup file "login.html.bak" will be restored into "login.html".

Re: Backup the customized html file as a ".bak" file

Posted: Sat May 14, 2022 9:12 pm
by KennyP
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?

Re: Backup the customized html file as a ".bak" file

Posted: Mon May 16, 2022 2:13 am
by FTP
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.

Re: Backup the customized html file as a ".bak" file

Posted: Mon Jun 26, 2023 3:01 am
by FTP
Yes, you need to keep the "Powered by" string. If you are a paid user, please contact us via email for the details.