"useTLS" boolean, optional (default: false) Whether to connect to the FTP server in passive mode. "passive" boolean, optional (default: true) Sets timeout for FTP connections (in seconds). "connectionTimeout" number, optional (default: 600) Whatever FTP session will be reused for next action (keeps session open for "connectionTimeout" previously named "sessionCacheEnabled"). "reuseSessions" boolean, optional (default: true) The file is ignored, if it is in at least one of the specified folders (so folder1/folder2/file.py is ignored if "ignoredFolders" contains "folder1" and/or "folder2"). "ignoredFolders" array of strings, optional (default: ) htaccess, this file has no extension => use "ignoredFilenames" instead. Note that it only check last extension (so has extension ".gz") and if you want to ignore files like. "ignoredExtensions" array of strings, optional (default: ) Note that "simple-ftp-deploy.json" is ALWAYS ignored. List of filenames, that are ignored and not uploaded. "ignoredFilenames" array of strings, optional (default: ) "rootDirectory" string, optional (default: "/")Įxample: in the root of FTP you have three folders site1, site2, site3 and if you need to upload in site2 folder, you must set this property to /site2, because if you skip this property, files will be upload to the root of FTP. If not given, you will be asked for it once needed. The hostname or IP address of your FTP server. Now open file which you want to edit, it must be located in an opened directory or in the inside folders, if you save it, this file will be upload to FTP server which you entered in the config file.Create new simple-ftp-deploy.json config file in the root of an opened directory (its settings see to configuration section).Open folder which contains your local files in Sublime Text - open menu File -> Open Folder. Open Packages directory, which you can find using the Sublime Text menu item Preferences -> Browse Packages.In Sublime Text open menu Tools -> Command Palette.Execute custom triggers on save / delete (see example usage here).Automatically create directory if it doesn't exists on the server.Upload or delete files from FTP server when you locally save or delete files.This package for Sublime Text ¾ gives you possibility to automatically upload or delete files from FTP server when you save or delete local files and also execute custom triggers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |