Simple ftp-mirroring code

Carl Banks imbosol-1049015307 at aerojockey.com
Sun Mar 30 04:25:08 EST 2003


Thomas Weholt wrote:
> I need a simple way of copying a folder with subfolders and content to a
> ftp-server. Any hints?
> A small piece of code which copies files and creates needed folders on a
> remote server.


http://www.aerojockey.com/software/misc/ftpupsync.py

Public domain.  Use at your own risk.  Uploads and removes files,
creates and removes directories.  You'd have to make the initial sync
file yourself.  Not likely to work on Windows without some minor
editing.  Requires at least Python 2.1.


-- 
CARL BANKS




More information about the Python-list mailing list