osmlab/addresses — pull request #9 by lxbarth (2014-02-16 15:38:02+00:00)
Title: Test download script

Test download script. Could grow into download script further down the line.

For now just tests the download.

cd download/
npm install
npm start

To produce an output like:

200 OK	http://136.234.73.7/arcgis/rest/services/MilleLacs_E911/MapServer/0
200 OK	http://136.234.73.7/arcgis/rest/services/MilleLacs_E911/MapServer/0
404 ERROR	http://24.56.144.170/wf2_chisagopublic/download/addresses.zip
404 ERROR	http://24.56.144.170/wf2_chisagopublic/download/addresses.zip

## Next steps

- Right now hangs at FTP downloads. Not sure what's going on need to investigate.
- Wrap into test framework so we can actually run this from a test and travis-ci this (maybe just use [TAP](https://github.com/isaacs/node-tap))
- Remove all download-actually pretense like the test flag before we actually make this a download script. I don't want to keep scaffolding for future functionality around.