
Debian에서는 Python의 ftp 서버를 다음과 같이 실행합니다(코드 프로젝트가 아닌 명령줄에서).
python -m pyftpdlib -w -p21
Windows 2008 서버에서 다음을 실행합니다.
ftp <IP>
user: anonymous
pass: anonymous
다음을 반환합니다.
230 Login successful.
하지만 get이나 put을 수행하면 다음과 같이 시간이 초과됩니다.
421 Active data channel timeout.
Windows 상자에서 제어판 -> 인터넷 옵션 -> 고급 탭 -> 수동 FTP 사용이 선택 취소되어 있습니다!
netsh advfirewall set allprofiles state off
Windows에서는 방화벽이 문제를 일으키지 않는지 확인하기 위해 실행했습니다.
내가 어떻게 일하고 put
일할 get
수 있는지에 대한 생각이 있나요?