I have a few data loggers in the field. The manufacturer set them up as dial up ftp servers. I'm writing a python program that automagically downloads all the latest files from the server into a specified folder on my computer.
- Which OS independent library do you recommend for dial up?
- Do you have any s开发者_如何学编程uggestions, comments, or concerns that you can share?
Thanks
Why not use Python's built-in ftplib? Looks pretty straightforward, unless I'm missing something?
For using a modem with Python, this thread talks about using the pyserial module.
I've never used pyserial with a modem, but I have with a USB port and an arduino. It was pretty straight forward, so I'm sure with some research about modem communication you could do it pretty easily. PySerial doesn't come with python by default, but from their site,
[PySerial] provides backends for Python running on Windows, Linux, BSD (possibly any POSIX compliant system), Jython and IronPython (.NET and Mono).
and earlier versions exist for MacOS and others.
精彩评论