HamRadioWiki : FtpUpload

HomePage :: Categories :: Index :: Recent :: Comments :: Login

Revision [2236]

Most recent edit made on 2008-03-05 12:15:48 by AlanB

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.




Revision [2235]

Edited on 2008-03-05 12:11:55 by AlanB

Additions:
  Attachment Size Date Added
      _upload.py   3.86 KB   3/05/2008 12:34 pm
 


Deletions:
{files}




Revision [2234]

The oldest known version of this page was edited on 2008-03-05 12:11:34 by AlanB

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
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0700 seconds