Skip to main content
Participant
Feb 26, 2023 12:57 PM UTC
Answered

Using automatic upload in code mode

Hi. I would like to know how can I configure the program so that after saving the file (ctrl+s) it will automatically send the file to the server? I would not like to have an active page preview function.

In theory, it should work like this, with the "Automatically upload file to server on save" option checked. Unfortunately, this only works when the page is previewed

 

    This topic is closed to new replies. Start a new post to keep the conversation going.
    Nancy OShea
    Nancy OSheaCorrect answer
    Community Expert
    Feb 26, 2023 10:18 PM UTC

    My local site folder resides in my local TESTING server's default web directory. So

    saving files automatically saves to local testing server.  See screenshots.

     

     

     

    Nancy O'Shea— Product User & Community Expert

    4 replies

    Nancy OShea
    Community Expert
    Community Expert
    Feb 26, 2023 7:39 PM UTC

    Use Ctrl + Shift + U to upload current document to server.

     

    Putting files to remote server on Save is very risky.  If you mistakenly save a bad file, it could compromise the live site. 

     

    Translate
    Nancy O'Shea— Product User & Community Expert
    Participant
    Feb 26, 2023 10:08 PM UTC

    Yes, but for that I use testing server only, and it's secured by git.
    Unfortunately, when writing more complex pages that require a PHP server with MySQL, it can be quite cumbersome to write scripts frequently.
    Thanks for the keyboard shortcut. It speeds up my work considerably.

    I think such an autosave to server feature should be available.

    Translate
    Nancy OShea
    Community Expert
    Nancy OSheaCommunity ExpertCorrect answer
    Community Expert
    Feb 26, 2023 10:18 PM UTC

    My local site folder resides in my local TESTING server's default web directory. So

    saving files automatically saves to local testing server.  See screenshots.

     

     

     

    Translate
    Nancy O'Shea— Product User & Community Expert