Skip to content

Create script that can connect to ftp server and pull data from the meter #2

@teknofire

Description

@teknofire

Now that we have access to the meter via ftp, we can start developing some scripts to download the files to a local system.

There are a few things we want to make sure that the script handles

  1. It should only download new files that haven't been previously downloaded.
  2. It needs to be able to keep track of the dates/times from the meter for files that are downloaded.
  3. It should capture what meter the files came from, we might need to discuss how we label this for example do we have names for specific meters or do we need to use something else for this.
  4. It should capture md5sums/checksums for any files download so as they are copied around later we can verify the integrity of the files.

We need to determine if the files show up on the ftp if they are still being written to or only once they are complete and ready to be downloaded. We wouldn't want to download a partial event file. If we find out that a file can still be written to we may have to not download the "latest" set of even files and only capture up to the n-1 set of files.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions