Revision history [back]
You could use the write-file command via Edit > Command By Name or by binding it to key, though the write-file prompts for the name to save to. You could also write a Wing extension script and save a copy in a presave handler.
If you want to mirror remote files to the local machine or vice-versa, you may want to look at the rsync command line utility -- this can be used independently of Wing.