FtpUpload.py

Sunday 13 April 2003This is close to 22 years old. Be careful.

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.

Comments

[gravatar]
i use this app for ftp, and it, like, kicks ass:

http://sourceforge.net/projects/filezilla

has file overwrite settings, AND you can bookmark both local and remore directory. ass kicken!

Add a comment:

Ignore this:
Leave this empty:
Name is required. Either email or web are required. Email won't be displayed and I won't spam you. Your web site won't be indexed by search engines.
Don't put anything here:
Leave this empty:
Comment text is Markdown.