Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- plugin
- GIT
- resource
- vscode
- Mac
- web.xml
- Windows 10
- xargs
- grep
- 줄바꿈 문자
- 단축키
- Windows
- maVen
- Source
- ssh
- lsof
- JavaScript
- bash
- profile
- Eclipse
- find
- tomcat
- VirtualBox
- import
- 네트워크
- IntelliJ
- Quartz
- context
- port
- netsh
Archives
- Today
- Total
develog
[bash] 쉘 스크립트에서 ftp 연결하기 본문
쉘 스크립트
# -i (Interactive)
# -n (No Auto-login)
# -v (Verbose)
ftp -inv $FTP_HOST $FTP_PORT << EOF
user $FTP_USER $FTP_PASS
lpwd
pwd
bye
EOF
콘솔 출력
Connected to myserver.com.
220 (vsFTPd 2.0.5)
331 Please specify the password.
230 Login successful.
Local directory is /Volumes/mydata/project_src
257 "/"
221 Goodbye.
Comments