When Publish (for this target) Is Clicked, What Happens?

Normally, I just upload the pages as I build the site. When I reach the final touchup phase before going live, I am always curious about the Publish ‘button’ on the bottom menu bar… I tried it once and I really didn’t like the outcome. It appeared that if a file no longer existed on my local but was on the target, it was removed.

Besides the site being published to the target destination, what else takes place with the files on the target side? Does it clean up any orphans not on the local? Or was my experience an anomaly?

I just want to make sure that I’m not going to lose any of the ‘work in progress’ files that may still exist on the target side.

Thanks for any insight on this…

I’ve found that the publish button does exactly that, upload files to the remote server that exist within the local folder.

When a file is deleted on my local folder, it tells me in the terminal window that the file should be deleted on the remote server but I find that it never does it automatically. Whether that’s a design quirk or not, I’m not sure.

We don’t remove any files from your server automatically. That’s by design, we don’t want to break your site if you accidentally deleted a file locally.

1 Like

Thank you both!

I might try it after I make a duplicate backup of the entire local folders and files. Perhaps that will help others know exactly what happens, and be able to prepare the local side.

I remember the antiquated DW had a nice feature where you could cloak files that you wanted the upload or download processes to ignore.

Either way, I want to explore every facet of this great tool we call Wappler. It might take me a long time… especially as quickly all of these awesome features are added to it.