Categories
Computer Network

FTP 클라이언트에서 ls, get, put 등 명령이 실행되지 않는 문제 해결 방법

1. 문제의 원인

FTP 클라이언트에서 cd, pwd 등의 명령은 실행이 되는데 ls, get, put 등은 실행되지 않을 때가 있다.

FTP 연결 모드가 액티브 (active) 모드로 되어 있는 것이 문제의 원인이다.

2. 문제 해결 방법

quote 명령으로 FTP 연결 모드를 패시브 (passive) 모드로 바꾼다.

ftp> quote pasv
227 Entering Passive Mode (22*,26,13*,4,19*,12*)

quote 명령은 부명령 (sub-command) 을 FTP 서버로 보내는 역할을 한다.

‘quote pasv’ 에서 부명령은 pasv 이다.

패시브 모드로 변경하면 FTP 접속이 끊길 때까지 상태가 유지된다.

2 replies on “FTP 클라이언트에서 ls, get, put 등 명령이 실행되지 않는 문제 해결 방법”

Good job on the new site! Now go ahead and submit it to our free directory here bit.ly/submit_site_t9qPdO4E2oF2

Leave a Reply to Johnnie Sweatman Cancel reply

Your email address will not be published. Required fields are marked *