Sublime Forum

SFTP Puts Config Inside Current Page . .

#1

Normally when we set up a new SMTP server we should see a new file open into which the following config template is placed:

{
	    // The tab key will cycle through the settings when first created
	    // Visit https://codexns.io/products/sftp_for_subime/settings for help
	    
	    // sftp, ftp or ftps
	    "type": "sftp",
	
	    "sync_down_on_open": true,
	    "sync_same_age": true,
	    
	    "host": "example.com",
	    "user": "username",
	    //"password": "password",
	    //"port": "22",
	    
	    "remote_path": "/example/path/",
	    //"file_permissions": "664",
	    //"dir_permissions": "775",
	    
	    //"extra_list_connections": 0,
	
	    "connect_timeout": 30,
	    //"keepalive": 120,
	    //"ftp_passive_mode": true,
	    //"ftp_obey_passive_host": false,
	    //"ssh_key_file": "~/.ssh/id_rsa",
	    //"sftp_flags": ["-F", "/path/to/ssh_config"],
	    
	    //"preserve_modification_times": false,
	    //"remote_time_offset_in_hours": 0,
	    //"remote_encoding": "utf-8",
	    //"remote_locale": "C",
	    //"allow_config_upload": false,
	}

But all I get is the same config template put into whatever .html/.css/.js file that is in the current view in ST.

What is wrong here ?

For completeness, let me say that I just added SMTP plugin from Package Control and did not pay the license. This may well affect its operation perhaps ?

0 Likes