Skip to content

Plugin for Atom editor. Multiple FTP Remote configuration files within the same project.

Notifications You must be signed in to change notification settings

MTxx87/multiple-remote-ftp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Remote Ftp Multiple Hosts Add-On

Plugin for Atom editor that adds possibility for multiple .ftpconfig and .ftpignore files within a single project using Remote Ftp. It is useful when working with multiple server environments.

Version 1.0.0 VS 0.3.1: Starting from version 1.0.0, I've added support for .ftpignore files.
For this reason, I decided to modify the configuration of the /ftpconfigs folder.
The structure that worked until 0.3.0 will no longer work after you'll upgrade to 1.0.0.
Migrating to the new structure is very easy though, just follow the getting started guide below.

Dependencies:

Getting Started

  • create a folder with name /ftpconfigs under the project root
  • under /ftpconfigs create as many folders as the number of environments you have
  • place .ftpconfig and .ftpignore files in these folders accordingly.
    The resulting tree should then be the following:

    Eg.
    • /ftpconfigs
      • /development
        • .ftpconfig
        • .ftpignore
      • /production
        • .ftpconfig

  • go to menu Packages > Multiple Remote Ftp > Toggle
  • be sure to have Tree View open
  • select an ftp file from the dropdown
  • Remote FTP should connect to the selected server

image

NOTES:

  • When an option is selected from the dropdown the plugin just copies the related {environment-name}/.ftpconfig and /.ftpignore in the root folder of your project before triggering the command 'remote-ftp:connect'.
    It is not a particularly elegant solution, but I had/have no time to refine or going with a more elegant approach.
    I have to say that it worked without problems since day one and I use Atom on daily basis.

About

Plugin for Atom editor. Multiple FTP Remote configuration files within the same project.

Resources

Stars

Watchers

Forks

Packages

No packages published