NEW: Updated the python script to allow uploads of directory trees.
CHANGED: Now when enumerating a directory to upload, all files and dirs
whose name starts with a '.' are excluded. Previously the server would
return an error when attempting to upload such files. This was expected
as the server does not accept such files. Now that the client doesn't
attempt to upload such files, there are no expected failures.
NEW: Added the "DO_NOT_UPDATE" file to repository so anyone cloning the
repository does not have the scripts auto updated. Updating the script
would require a Git Pull. For those simply storing the scripts without
the repository, the file must not exist for the auto-update to run.
CHANGED: Now the same HTTP connection is reused instead of opening a new
one for each file to upload.
NEW: A HEAD request is sent to server to check if the file to be
uploaded already exists on the server. If it does, the file is skipped.
NEW: The HEAD request and and POST request for file uploads are now
wrapped in a try block allowing for a retry if the connection was closed
(for example if the application server is restarted between file
uploads)
NEW: Added a configurable delay between file uploads. Default is 3
seconds. During this delay, a user can press Ctrl-C to pause the upload
process if required. Note that pressing Ctrl-C at any other time will
abort the task in progress at the time, e.g. a file being uploaded or
MD5 being calculated for a local file.
FIXED: A syntax error in progress.py that prevented the file read
progress from being displayed.