Git Product home page Git Product logo

automated_file_upload's Introduction

본 프로그램은 특정 폴더의 변화를 모니터링합니다. 새로운 파일(.mp4 파일)이 생성되면 생성 이벤트를 감지하여 FTP 서버의 특정 경로에 새로 생성된 파일을 자동 업로드합니다. 필요에 따라 파일 확장자(File Extension)를 수정하여 사용하시면 자동화 업무에 활용하실 수 있습니다.

프로그램 실행 순서는 다음과 같습니다.


  1. FTP 로그인 정보 확인
  2. FTP 로그인 성공 시, 지정된 폴더에 대한 파일 생성 모니터링 수행
  3. FTP 로그인 실패 시, 사용자로부터 FTP 계정 정보 재입력 요청
  4. 모니터링 중, .mp4 파일이 생성되면 해당 파일이 생성된 경로와 파일명 정보를 추출한다. 그 후 FTP 업로드 수행 함수에 경로명, 파일명을 전달한다.
  5. FTP_Upload 함수에 의해 업로드가 수행되며 tqdm 패키지에 의해 Progress Bar가 콘솔 창에 보여진다.
  6. 업로드가 완료되면 다시 모니터링을 수행하게 된다.
  7. 'Ctrl + C'로 프로그램을 종료한다.

automated_file_upload's People

Stargazers

TimChoi avatar  avatar

Watchers

James Cloos avatar TimChoi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.