views:

41

answers:

1

Hello,

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.

  1. Which OS independent library do you recommend for dial up?
  2. Do you have any suggestions, comments, or concerns that you can share?

Thanks

+1  A: 

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.

Wayne Werner
that answers one question, the second question would be on how to dial up using python
dassouki
added links to pyserial information for communicating with a modem.
Wayne Werner