vscode 에서 FTP 를 이용해서 직접 서버에 연결해서 업로드 또는 파일 수정을 할 수 있다.
1. 설치하기
https://marketplace.visualstudio.com/items?itemName=ruakr.ftp-kr
2. 연결설정
cmd + shift + P (명령어창 열기)
ftp-kr:Init 입력
{
"host": "",
"username": "",
"password": "",
"remotePath": "",
"protocol": "ftp",
"port": 21,
"fileNameEncoding": "utf8",
"autoUpload": true,
"autoDelete": false,
"autoDownload": false,
"ignore": [
".git",
"/.vscode"
],
"ignoreWrongFileEncoding": false
}
기본 명령어
ftp-kr: Init - Starts up extension and generates ftp-kr.json.
ftp-kr: Upload All - Upload all without same size files.
ftp-kr: Download All - Download all without same size files.
ftp-kr: Upload This - Upload this file.
ftp-kr: Download This - Download this file.
ftp-kr: Delete This - Delete file in remote server.
728x90
'Tools' 카테고리의 다른 글
VScode - 다중커서 사용하기 (0) | 2023.11.24 |
---|---|
[VScode] 주석처리 단축키 (0) | 2022.07.25 |
C# VScode 에서 인텔리센스가 안되는 경우 (0) | 2021.09.26 |
맥북 m1 노트북에 vscode 설치하기 (macOS) (0) | 2021.09.25 |