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

Please post here if you have problems in using Wing FTP Server.
Post Reply
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

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

Post 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
dbono
Posts: 2
Joined: Thu Oct 06, 2016 12:47 pm

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

Post 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?
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

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

Post by FTP »

It means please keep some string like "Powered by www.wftpserver.com" in the login page.
KennyP
Posts: 4
Joined: Sat May 14, 2022 5:11 am

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

Post 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
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

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

Post 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".
KennyP
Posts: 4
Joined: Sat May 14, 2022 5:11 am

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

Post 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?
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

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

Post 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.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

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

Post 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.
Post Reply