How to synchronize file changes with files on the FTP server?





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







2















My project files are in the local folder in D:xampphtdocsmysite
The same files are on my FTP server.
A git repository would exist only locally in a .git directory to keep track.



I want to be able to edit my files locally, and the change to reflect on the server.



Requirements:




  • Any new file on the server would be copied into the local dir

  • Any change made to a local file will update the file on the server

  • Ability to exclude some directories, files, extensions (for example .git)


What are the available softwares that can do this on windows? Does Filezilla do a better job maybe? or any other suggestions



I've tried WinSCP but i can't get it to work right. Whenever I make i change on one file, a dialog pops up (or console outputs depending on where I've ran it) going through all the files and all the subdirectories. I don't know why is that since I've made change only to one file and synchronized all the files before trying to keepuptodate. It just spends time on some files which are already synchronized and up to date.










share|improve this question













migrated from stackoverflow.com Oct 7 '12 at 19:20


This question came from our site for professional and enthusiast programmers.



















  • Phpstorm Github integration would do it.

    – Ĭsααc tիε βöss
    Aug 4 '16 at 12:16


















2















My project files are in the local folder in D:xampphtdocsmysite
The same files are on my FTP server.
A git repository would exist only locally in a .git directory to keep track.



I want to be able to edit my files locally, and the change to reflect on the server.



Requirements:




  • Any new file on the server would be copied into the local dir

  • Any change made to a local file will update the file on the server

  • Ability to exclude some directories, files, extensions (for example .git)


What are the available softwares that can do this on windows? Does Filezilla do a better job maybe? or any other suggestions



I've tried WinSCP but i can't get it to work right. Whenever I make i change on one file, a dialog pops up (or console outputs depending on where I've ran it) going through all the files and all the subdirectories. I don't know why is that since I've made change only to one file and synchronized all the files before trying to keepuptodate. It just spends time on some files which are already synchronized and up to date.










share|improve this question













migrated from stackoverflow.com Oct 7 '12 at 19:20


This question came from our site for professional and enthusiast programmers.



















  • Phpstorm Github integration would do it.

    – Ĭsααc tիε βöss
    Aug 4 '16 at 12:16














2












2








2


2






My project files are in the local folder in D:xampphtdocsmysite
The same files are on my FTP server.
A git repository would exist only locally in a .git directory to keep track.



I want to be able to edit my files locally, and the change to reflect on the server.



Requirements:




  • Any new file on the server would be copied into the local dir

  • Any change made to a local file will update the file on the server

  • Ability to exclude some directories, files, extensions (for example .git)


What are the available softwares that can do this on windows? Does Filezilla do a better job maybe? or any other suggestions



I've tried WinSCP but i can't get it to work right. Whenever I make i change on one file, a dialog pops up (or console outputs depending on where I've ran it) going through all the files and all the subdirectories. I don't know why is that since I've made change only to one file and synchronized all the files before trying to keepuptodate. It just spends time on some files which are already synchronized and up to date.










share|improve this question














My project files are in the local folder in D:xampphtdocsmysite
The same files are on my FTP server.
A git repository would exist only locally in a .git directory to keep track.



I want to be able to edit my files locally, and the change to reflect on the server.



Requirements:




  • Any new file on the server would be copied into the local dir

  • Any change made to a local file will update the file on the server

  • Ability to exclude some directories, files, extensions (for example .git)


What are the available softwares that can do this on windows? Does Filezilla do a better job maybe? or any other suggestions



I've tried WinSCP but i can't get it to work right. Whenever I make i change on one file, a dialog pops up (or console outputs depending on where I've ran it) going through all the files and all the subdirectories. I don't know why is that since I've made change only to one file and synchronized all the files before trying to keepuptodate. It just spends time on some files which are already synchronized and up to date.







ftp sync filezilla winscp






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Oct 7 '12 at 16:58









Keeper HoodKeeper Hood

238411




238411




migrated from stackoverflow.com Oct 7 '12 at 19:20


This question came from our site for professional and enthusiast programmers.









migrated from stackoverflow.com Oct 7 '12 at 19:20


This question came from our site for professional and enthusiast programmers.















  • Phpstorm Github integration would do it.

    – Ĭsααc tիε βöss
    Aug 4 '16 at 12:16



















  • Phpstorm Github integration would do it.

    – Ĭsααc tիε βöss
    Aug 4 '16 at 12:16

















Phpstorm Github integration would do it.

– Ĭsααc tիε βöss
Aug 4 '16 at 12:16





Phpstorm Github integration would do it.

– Ĭsααc tիε βöss
Aug 4 '16 at 12:16










2 Answers
2






active

oldest

votes


















0














Below is the .cmd script I use to keep my local directory up to date with my remote one using WinSCP.



If you're seeing a whole lot of transfers when saving one file it's probably because you aren't excluding your .git folder. When you save a file git does a lot of changes to the .git folder. You're going to want to exclude it in the WinSCP profile.



@ECHO OFF
@ECHO Keeping Toolkit dir up to date...
@PING 1.1.1.1 -n 1 -w 10000 > NUL
@START "" "C:Program Files (x86)WinSCPWinSCP.exe" my-toolkit /keepuptodate c:Usersa150495toolkit /opt/ssp/apps/www/html/chris/toolkit /defaults "" -clean





share|improve this answer































    0














    If WinSCP synchronizes file that were not changed, you probably have some issue with timezones or DST.



    Refer to WinSCP FAQ for possible causes:
    Synchronization or keep remote directory up to date functions are not working. Why?






    share|improve this answer


























      Your Answer








      StackExchange.ready(function() {
      var channelOptions = {
      tags: "".split(" "),
      id: "3"
      };
      initTagRenderer("".split(" "), "".split(" "), channelOptions);

      StackExchange.using("externalEditor", function() {
      // Have to fire editor after snippets, if snippets enabled
      if (StackExchange.settings.snippets.snippetsEnabled) {
      StackExchange.using("snippets", function() {
      createEditor();
      });
      }
      else {
      createEditor();
      }
      });

      function createEditor() {
      StackExchange.prepareEditor({
      heartbeatType: 'answer',
      autoActivateHeartbeat: false,
      convertImagesToLinks: true,
      noModals: true,
      showLowRepImageUploadWarning: true,
      reputationToPostImages: 10,
      bindNavPrevention: true,
      postfix: "",
      imageUploader: {
      brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
      contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
      allowUrls: true
      },
      onDemand: true,
      discardSelector: ".discard-answer"
      ,immediatelyShowMarkdownHelp:true
      });


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f484654%2fhow-to-synchronize-file-changes-with-files-on-the-ftp-server%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      Below is the .cmd script I use to keep my local directory up to date with my remote one using WinSCP.



      If you're seeing a whole lot of transfers when saving one file it's probably because you aren't excluding your .git folder. When you save a file git does a lot of changes to the .git folder. You're going to want to exclude it in the WinSCP profile.



      @ECHO OFF
      @ECHO Keeping Toolkit dir up to date...
      @PING 1.1.1.1 -n 1 -w 10000 > NUL
      @START "" "C:Program Files (x86)WinSCPWinSCP.exe" my-toolkit /keepuptodate c:Usersa150495toolkit /opt/ssp/apps/www/html/chris/toolkit /defaults "" -clean





      share|improve this answer




























        0














        Below is the .cmd script I use to keep my local directory up to date with my remote one using WinSCP.



        If you're seeing a whole lot of transfers when saving one file it's probably because you aren't excluding your .git folder. When you save a file git does a lot of changes to the .git folder. You're going to want to exclude it in the WinSCP profile.



        @ECHO OFF
        @ECHO Keeping Toolkit dir up to date...
        @PING 1.1.1.1 -n 1 -w 10000 > NUL
        @START "" "C:Program Files (x86)WinSCPWinSCP.exe" my-toolkit /keepuptodate c:Usersa150495toolkit /opt/ssp/apps/www/html/chris/toolkit /defaults "" -clean





        share|improve this answer


























          0












          0








          0







          Below is the .cmd script I use to keep my local directory up to date with my remote one using WinSCP.



          If you're seeing a whole lot of transfers when saving one file it's probably because you aren't excluding your .git folder. When you save a file git does a lot of changes to the .git folder. You're going to want to exclude it in the WinSCP profile.



          @ECHO OFF
          @ECHO Keeping Toolkit dir up to date...
          @PING 1.1.1.1 -n 1 -w 10000 > NUL
          @START "" "C:Program Files (x86)WinSCPWinSCP.exe" my-toolkit /keepuptodate c:Usersa150495toolkit /opt/ssp/apps/www/html/chris/toolkit /defaults "" -clean





          share|improve this answer













          Below is the .cmd script I use to keep my local directory up to date with my remote one using WinSCP.



          If you're seeing a whole lot of transfers when saving one file it's probably because you aren't excluding your .git folder. When you save a file git does a lot of changes to the .git folder. You're going to want to exclude it in the WinSCP profile.



          @ECHO OFF
          @ECHO Keeping Toolkit dir up to date...
          @PING 1.1.1.1 -n 1 -w 10000 > NUL
          @START "" "C:Program Files (x86)WinSCPWinSCP.exe" my-toolkit /keepuptodate c:Usersa150495toolkit /opt/ssp/apps/www/html/chris/toolkit /defaults "" -clean






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 7 '13 at 21:48









          ChrisChris

          715




          715

























              0














              If WinSCP synchronizes file that were not changed, you probably have some issue with timezones or DST.



              Refer to WinSCP FAQ for possible causes:
              Synchronization or keep remote directory up to date functions are not working. Why?






              share|improve this answer






























                0














                If WinSCP synchronizes file that were not changed, you probably have some issue with timezones or DST.



                Refer to WinSCP FAQ for possible causes:
                Synchronization or keep remote directory up to date functions are not working. Why?






                share|improve this answer




























                  0












                  0








                  0







                  If WinSCP synchronizes file that were not changed, you probably have some issue with timezones or DST.



                  Refer to WinSCP FAQ for possible causes:
                  Synchronization or keep remote directory up to date functions are not working. Why?






                  share|improve this answer















                  If WinSCP synchronizes file that were not changed, you probably have some issue with timezones or DST.



                  Refer to WinSCP FAQ for possible causes:
                  Synchronization or keep remote directory up to date functions are not working. Why?







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited Aug 4 '16 at 11:55

























                  answered Apr 13 '13 at 18:25









                  Martin PrikrylMartin Prikryl

                  11.2k43379




                  11.2k43379






























                      draft saved

                      draft discarded




















































                      Thanks for contributing an answer to Super User!


                      • Please be sure to answer the question. Provide details and share your research!

                      But avoid



                      • Asking for help, clarification, or responding to other answers.

                      • Making statements based on opinion; back them up with references or personal experience.


                      To learn more, see our tips on writing great answers.




                      draft saved


                      draft discarded














                      StackExchange.ready(
                      function () {
                      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f484654%2fhow-to-synchronize-file-changes-with-files-on-the-ftp-server%23new-answer', 'question_page');
                      }
                      );

                      Post as a guest















                      Required, but never shown





















































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown

































                      Required, but never shown














                      Required, but never shown












                      Required, but never shown







                      Required, but never shown







                      Popular posts from this blog

                      How do I know what Microsoft account the skydrive app is syncing to?

                      When does type information flow backwards in C++?

                      Grease: Live!