글

라벨이 tempfile인 게시물 표시

[WSL] Python으로 테스트용 FTP server 운영

잡설 테스트용으로 email을 받아서 바로 버려버리는 python 스크립트를 작성해서 잘 써먹고 있었는데, 이번에는 ftp 서버 스크립트를 작성해서 로그만 남기고 바로 버리는 스크립트를 만들어볼까합니다. pyftpdlib 일단 구글링을 통해 pyftpdlib 를 사용하면 된다는 것을 알게되었습니다. 곧바로 실행해봅니다. 설치 pip3로 설치합니다. 별거없죠? $ sudo pip3 install pyftpdlib The directory ' /home/shaun289/.cache/pip/http ' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo ' s -H flag. The directory ' /home/shaun289/.cache/pip ' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo ' s -H flag. Collecting pyftpdlib Downloading https: //files.pythonhosted.org/packages/31/61/63ef60aca6de07eba1639d9d47f3f8e29462e8bb49d6a8dce9aeff240646/pyftpdlib-1.5.6.tar.gz (188kB) 100% | ████████████████████████████████...

이 블로그의 인기 게시물

구글 시트에 여러 행 한번에 추가하기

WSL2 Ubuntu 20.04 및 네트워크 설정

우분투 terminator 에서 파일 경로 클릭시 vscode 에서 열기