Check ftp for preset state.
- When was this folder last updated? (--last-modified)
- Which file was last updated? (--latest-file)
- When was this file last updated? (--file-status <filename>)
- clone repo
- install pipenv and ideally pyenv (recomended)
- run
pipenv install
- run
pipenv shell
to activate virtual environment - create a credential file in
.env
folder [see below] - run
python main.py <ftp name>
{
"example": {
"HOSTNAME": "ftpserver.example.com",
"USERNAME": "exuser",
"PASSWORD": "expass",
"PATH" : "."
}
}