Sublime Forum

Multi ftp connection

#1

Hi, i am using SFTP to upload/sync between local and server.
How can add multiple connections to different servers at the same time like this:

// sftp-config.json
{
    "multi_host": true,
    [
    	{
    		"host": "my_host_name_1.com",
		    "user": "host_1@my_host_name.com",
		    "password": "d%jb&1La@p",
    	},
    	{
    		"host": "my_host_name_2.com",
		    "user": "host_2@my_host_name.com",
		    "password": "d%jb&1La@p",
    	}
    ]
}

// OR
Does a package do the same thing?
Thanks.

0 Likes