#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    3
    Rep Power
    0

    Help mirroring a directory


    Hi

    Can someone help me over a difficult hurdle?

    I have remote directory on a server and I want to mirror the remote directory onto a directory on my windows computer.

    so let say the directory is at ftp.something.com/something

    the program would check the directory every 20 seconds (yes that often) and if a new file has appeared on the remote server it would be automatically downloaded to my computer in c:\local dir

    Would someone have a simple script in python 2.7 that can accomplish this?

    Thanks Peter
  2. #2
  3. Contributing User
    Devshed Demi-God (4500 - 4999 posts)

    Join Date
    Aug 2011
    Posts
    4,904
    Rep Power
    481
    Perhaps you should ask this question in the windows forum
    http://forums.devshed.com/windows-help-34/
    [code]Code tags[/code] are essential for python code and Makefiles!

IMN logo majestic logo threadwatch logo seochat tools logo