端午节的传说
时间:2018-04-01 09:01:31来源:杰瑞文章网点击:作文字数:400字
作文导读:我坐着时光机想要到每个时代玩一玩,战国时代是不是大家都很好斗,天天都在打仗呢?我做了一点准备功课,原来这个时代出了一个最有名的爱国诗人屈原,端午节跟他的关系密不可分,不如亲自去看看,说不定有机会可以和他本人聊聊天呢!
远程同步太多了,例如下面:
ftpSync
sftp
下面使用sftp
使用
file -> SFTP/FTP -> Edit map...,或者right click on the project and selected Edit Map...(具体选项不太清楚,还是不要花时间记住这个吊用的单词,有个模糊概念就行了)。但我的操作
ctrl + shitp + p 搜索并执行SFTP Map to Remote; 会生成sftp-confing.json。你手动创建也行。
参数不我不做说明,我也没看我他官网说名,如果你用atom的remote-ftp,那么这个就简单了。
{
// The tab key will cycle through the settings when first created
// Visit http://wbond.net/sublime_packages/sftp/settings for help
// sftp, ftp or ftps
"type": "ftp",
"save_before_upload": true,
"upload_on_save": false,
"sync_down_on_open": false,
"sync_skip_deletes": false,
"sync_same_age": true,
"confirm_downloads": false,
"confirm_sync": true,
"confirm_overwrite_newer": false,
"host": "ip hor domainName",
"user": "your username",
"password": "password",
"port": "21",
"remote_path": "/upload/to/target/path",
"ignore_regexes": [
"\.sublime-(project|workspace)", "sftp-config(-alt\d?)?\.json",
"sftp-settings\.json", "/venv/", "\.svn/", "\.hg/", "\.git/",
"\.bzr", "_darcs", "CVS", "\.DS_Store", "Thumbs\.db", "desktop\.ini"
],
//"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": true,
}
right click to select upload, or ctrl + shift + p search and execute upload。
ps: 有点遗憾就是ftp上没有目录,而不能自动创建,需要手工创建, 而atom的remote-ftp则不一样。
其他操作参考 atom的操作,这里不在说明了。

端午节的传说一文由杰瑞文章网免费提供,本站为公益性作文网站,此作文为网上收集或网友提供,版权归原作者所有,如果侵犯了您的权益,请及时与我们联系,我们会立即删除!
杰瑞文章网友情提示:请不要直接抄作文用来交作业。你可以学习、借鉴、期待你写出更好的作文。
说说你对这篇作文的看法吧