ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

FTPSync

by NoxArt ALL

Simple and free FTP(S) syncing (SFTP not available)

Labels ftp, sync

Details

  • 2017.01.16.21.48.20
  • github.​com
  • github.​com
  • 7 years ago
  • 27 minutes ago
  • 12 years ago

Installs

  • Total 206K
  • Win 138K
  • Mac 43K
  • Linux 25K
Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 29 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12
Windows 6 4 6 4 4 5 4 3 3 4 4 3 6 4 4 6 6 6 4 4 5 10 6 17 19 5 3 3 8 5 6 6 3 4 4 4 3 5 6 4 3 6 2 5 5 8
Mac 0 3 0 3 2 2 1 4 1 3 1 2 1 2 1 0 0 3 0 1 2 2 2 0 0 0 1 1 1 3 2 0 1 1 1 0 2 1 4 1 0 3 1 2 0 1
Linux 0 1 2 1 0 1 2 3 1 0 0 0 0 0 0 0 0 1 1 3 0 0 2 0 2 2 1 0 0 1 1 0 0 0 2 2 0 0 1 2 1 0 0 1 1 0

Readme

Source
raw.​githubusercontent.​com

FTPSync

Addon for Sublime Text 2 and Sublime Text 3

No longer maintained

Unofortunately no longer have time to continue with fixes and improvements :( I hope it will still be a bit useful. The plugin will continue to be free to use. If someone wishes to continue with development feel free to remove this message

Simple and free plugin for FTP synchronization. Just hit the save as usual and it's upped.

What's there for you? * Multiple named upload targets * Ignored file regex patterns * Secure transfer using TLS * Downloading via temporary file (better stability) * Determining newer remote files, overwrite protection * Manual multiple file & folder up/downloading (sidebar context menu) * Multithreaded uploading and downloading * Local&remote renaming and deleting * Progress bar for multiple up/download * Remote browsing and manipulating via file list

For more info look into Wiki

How to use

To mark a folder and descendants for upload insert ftpsync.settings file in following format. Don't worry - the skeleton can be simply inserted using Preferences > Package Settings > FTPSync > Setup FTPSync in this folder or using context menu in Side bar or using Control/CMD+Shift+P.

Sample settings file with minimum of options: ( does not contain all options )

{
    'primary': {
        host: 'ftp.mywebsite.com',
        username: 'johnsmith',
        password: 'secretpassword',
        path: '/www/',

        upload_on_save: true,
        tls: true
    }
}

Set password to null (don't use quotes) if you do not want to store password in a file and set in manually (FTPSync will request the password in such case).

All connection settings »

Files are automatically uploaded on save (unless disabled by upload_on_save=false setting). In your newly created settings file some options are preceded with //, this means they are commented out (and default value from global settings file is used) - remove the // to enable the entry.

Drawbacks and notes

  • SFTP is not supported at the moment and is not planned in near future (you can use SFTP or Mote plugins)
  • SSL/TLS is not supported for servers that enforce SSL_REUSE (encryption support will hopefully increase in future)
  • Does not support continuous watching and syncing, only (after) manual action
  • Does not support proxy connections
  • Does not support remote diff at the moment
  • Does not support special characters in remote path at the moment

About

Done by Jiří @NoxArt Petruželka ~ Twitter

Released under MIT licence.

Thank you for the financial support!

Feel free to add issues, ideas, pull requests…

Thanks to thecotne, castus, tommymarshall, TotallyInformation, saiori, vnabet, Jcrs, ItayXD, bibimij, digitalmaster, alfaex, seyDoggy, Nuno, mikedoug, stevether, zaus, noAlvaro, zofie86, fma965, PixelVibe, Kaisercraft, benkaiser, anupdebnath, sy4mil, leek, surfac, mitsurugi, MonoSnippets, Zegnat, cwhittl, shadowsdweller, adiulici01, tablatronix, bllim, Imaulle, friskfly, lysenkobv, nosfan1019, smoochieboochies, Dmitry Loktev, fedesilvaponte, fedegonzaleznavarro, camilstaps, maknapp, certainlyakey, victorhqc, eniocarv, molokoloco, tq0fqeu, Arachnoid, ahgood, SourceR85, nirajaryal, Stock-webdesign, chachan, webattitude, VarinderS, Gadoma, pnukeid, patatjenl, ridethepinguin, Kovas, giolvani, superDuperCyberTechno, druellan, StuartMorris0, adisos, marcoflorian, MartinBucko for reporting issues, ideas and fixing!

Tips

  • Set key bindings (hotkeys) for frequent actions you use

Please edit only Key Bindings - User, open using: Preferences > Package Control > FTPSync > Key Bindings - User You can use the contents of Key Bindings - Default as a template and copy it there. If you edit Key Bindings - Default (either Sublime's or FTPSync's), your changes will be lost on update. More info

  • Renaming and deleting

Please keep in mind that for deleting and renaming on server you need to use FTPSync > Rename respectively FTPSync > Delete features, not those in Sublime Text 2 or SideBarEnhancements.

  • Working from more places? Or in team?

You can either use download_on_open=true to check files upon openning or FTPSync: Check current file command to see whether you have the same version as is on all servers. Using overwrite_newer_prevention is also recommended (it's actually enabled by default).

  • Upload different language versions to different servers of paths e.g.

    {
        "<connection_name>": {
            "host": "ftp.host.en.com",
            "ignore": "/locale/(?!fr)\\w+/.*"
        },
        "<connection2_name>": {
            "host": "ftp.host.cz.com",
            "ignore": "/locale/(?!cz)\\w+/.*"
        }
    }
    
  • Using file compilation? Want to upload as well?

You can use after_save_watch option to setup files to be watched for change after uploading on save. Learn how to use in Wiki.