Remark : ftp passive 로 명령어 전송시 에러 해결
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
$ ftp 111.***.***.*** 54321 Connected to 11.***.***.***. 220 (vsFTPd 3.0.2) Name (11.***.***.***:root): user 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 500 Illegal PORT command. ftp: bind: Address already in use |
Solution : pass
1 2 3 4 5 6 7 8 9 10 11 12 13 |
ftp> pass Passive mode on. ftp> ls 227 Entering Passive Mode (***,***,***,***,***,103). 150 Here comes the directory listing. drwx------ 25 ftp ftp 4096 Mar 16 2021 AAAA drwx------ 3 ftp ftp 4096 Nov 03 11:40 BBBB -rw------- 1 ftp ftp 39571 Nov 08 01:26 CCCC.png drwx------ 6 ftp ftp 4096 Oct 10 06:30 DDDD -rwxr-xr-x 1 ftp ftp 100 Jul 04 05:12 FFFF.php 226 Directory send OK. |