ftplib question

Steve Holden sholden at holdenweb.com
Wed Aug 8 19:53:06 EDT 2001


"Andrew Markebo" <flognat at flognat.myip.org> wrote in message
news:m3wv4edvk4.fsf at localhost.localdomain...
>
> Q1: Check the docs, and you might find cwd useful..
>
> Q2: How to schedule it in python.. well
>
> while 1:
>         update()
>         time.sleep(24*60*60)
>
> But I think finding a scheduler in the os you have and launch the
> python-script from there...
>
>
> | Question#1 : I'm not sure how i can change to the directory i want to
upload
> | the files to. Any help would be appreciated.
> | Question#2 : does anyone know of a python module that allows me to
schedule
> | tasks?

There is also the standard sched module, which can handle this kindof thing
quite nicely if you cankeep a Python process running to do the work.

regards
 Steve
--
http://www.holdenweb.com/






More information about the Python-list mailing list