Additions:
For those who manage things on a webserver, there is often a need to manage a directory tree of files on the web server. There are many ways to do this, but I wanted a simple robust uploader that was intelligent. It has to keep track of what has been uploaded, and discern what has actually changed, and only upload the changed stuff. This Python program does this, and is under 100 lines of code. It keeps a log of what it has uploaded with timestamps and crypto checksums, and avoids re-uploading unchanged stuff unless the force option is used.
keywords: Python FTP File Upload Program
Deletions:
For those who manage things on a webserver, there is often a need to manage a directory tree of files on the web server. There are many ways to do this, but I wanted a simple robust uploader that was intelligent. It has to keep track of what has been uploaded, and discern what has actually changed, and only upload the changed stuff. This Python program does this, and is under 100 lines of code. It keeps a log of what it has uploaded, and avoids re-uploading unchanged stuff unless the force option is used.
Additions:
|
|
Attachment
|
Size
|
Date Added
|
|
|
_upload.py
|
3.86 KB
|
3/05/2008 12:34 pm
|
| |
Deletions:
{files}
Simple and Intelligent FTP Upload program
For those who manage things on a webserver, there is often a need to manage a directory tree of files on the web server. There are many ways to do this, but I wanted a simple robust uploader that was intelligent. It has to keep track of what has been uploaded, and discern what has actually changed, and only upload the changed stuff. This Python program does this, and is under 100 lines of code. It keeps a log of what it has uploaded, and avoids re-uploading unchanged stuff unless the force option is used.
Configuration is by editing the sourcecode and setting a few values at the top of the file..
{files}
73
--
AlanB