|Ned Batchelder : Blog | Code | Text | Site|
» Home : Blog : April 2003
I've posted the Python module I use to upload this site to my hosting provider: FtpUpload.py.
I didn't want to upload the entire site every time I made a small change. But since I do regenerate the entire site every time I make a change, I couldn't use a timestamp approach to detecting which files to upload. FtpUpload uses MD5 hashes of the contents of the files to determine what files have truly changed since the last upload.
tagged: my code» 1 reaction