FTP/SFTP 서버에서 로컬 workspace 로 쉽게 파일/디렉토리를 동기화 해주는 확장입니다.
링크 : https://marketplace.visualstudio.com/items?itemName=lukasz-wronski.ftp-sync
기본 명령어
Ftp-sync: Init
Initializes a default FTP-Sync configuration file in the .vscode
directory. Options can be customised as follows:
- remotePath - This can be set to the path on the remote that you would like to upload to. The default is
./
i.e. the root. - host - The hostname of the FTP server you want to connect to.
- username - The username of the FTP account you want to use.
- password - The password of the FTP account you want to use.
- port - The port on the FTP server you would like to connect to. The default is
"21"
. - protocol - The FTP protocol to be used. The default is
"ftp"
but you can also specify"sftp"
. - uploadOnSave - Whether files should automatically be uploaded on save. The default is
false
. - passive - Specifies whether to use FTP passive mode. The default is
false
. - debug - Specifies whether to display debug information in an ftp-sync Output window. The default is
false
. - privateKeyPath - Specifies the path to the private key for SFTP. The default is
null
. - passphrase - Specifies the passphrase to use with the private key for SFTP. The default is
null
. - ignore - An array of escaped regular expression strings specifying paths to ignore. If a path matches any of these regular expressions then it will not be included in the sync. Default values are
"\\.git"
,"\\.vscode"
and".DS_Store"
. - "generatedFiles": {
- "uploadOnSave": true,
- "path": "", [e.g.] "/build",
- "extensionsToInclude": [] e.g. [".js", ".styl"] }
Ftp-sync: Sync Local to Remote
Displays a synchronization wizard to configure a sync operation that changes FTP files and folders to match project files.
Ftp-sync: Sync Remote to Local
Displays a synchronization wizard to configure a sync operation that changes project files and folders to match FTP files.
Ftp-sync: Commit
Commits reviewed list of changes made with Sync Local to Remote or Sync Remote to Local command.
'기타' 카테고리의 다른 글
Output Colorizer - 출력창의 로그를 구문 강조 (0) | 2018.09.06 |
---|---|
Blockalign - 블록 코드 정렬 (0) | 2018.09.03 |
ftp-kr - FTP/SFTP 파일/디렉토리 동기화 (0) | 2018.08.29 |
Better Align - 문자열 코드 정렬 (0) | 2018.08.24 |
change-case - 문자 형식 변경 (0) | 2018.08.20 |