Skip to content

Latest commit

 

History

History
31 lines (24 loc) · 879 Bytes

README.md

File metadata and controls

31 lines (24 loc) · 879 Bytes

🚧 [WIP] ftpcheck 🚧

Check ftp for preset state.

✨ Features ✨ in oven 🏗️

  1. When was this folder last updated? (--last-modified)
  2. Which file was last updated? (--latest-file)
  3. When was this file last updated? (--file-status <filename>)

Development environment

  1. clone repo
  2. install pipenv and ideally pyenv (recomended)
  3. run pipenv install
  4. run pipenv shell to activate virtual environment
  5. create a credential file in .env folder [see below]
  6. run python main.py <ftp name>

Credentials file format

{
    "example": {
        "HOSTNAME": "ftpserver.example.com",
        "USERNAME": "exuser",
        "PASSWORD": "expass",
        "PATH" : "."
    }
}