Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Demandware upload file watcher. Keeps your files in sync with your sandbox so you don't have to use Eclipse

Project Description

The dwupload program is a Demandware cartridge file watcher. The script watches the file system and synchronizes files with your sandbox via webdav. The script assumes you are watching from the cartridges root path e.g. /some/path/cartridges/ this path would then contain your dw cartridges below.

The script assumes that you have all your cartridges in one folder, which may change depending on use cases. Currently for my use case our git repository contains all of our cartridges in one folder.

If the cartridge path is not set correctly the program can wipe all the files on your sandbox. To fix this simply run a clean using Demandware Studio and then try fixing the root watch path. You may also run into issues if both Demandware Studio and the dwupload script are both running, but I haven’t had a problem so far.

This script has been tested on both 10.8.5 and Windows XP/7. Your mileage may vary.

Getting Started

  • Install Python 2.7 if it’s not already installed
  • Install setuptools
  • Run python install
  • Create a configuration file there is an example in the dwupload package.
    • On unix based systems you can create .dwsettings in your home folder. This might work on windows, but has not been tested
  • If you have .dwsettings just run dwupload to start the file system watcher.
    • If you do not have .dwsettings you can specify the -c flag to supply the path to the config file
    • Alternatively you can add the DWUPLOAD_CONFIG_PATH environment variable so you do not have to specify the config path every time
  • Use dwupload -h to see the program’s help text

0.1.4 — - Added multiple configurations in one config file with section_name argument - Prompt user for password if password is not stored in config for security reasons

0.1.3 —

  • Added connection test on startup to make sure connection is working or will fail with an error

0.1.2 —

  • Fixed bug that locked files on Windows 7 preventing script from working on consecutive uploads

0.1.1 —

  • Bug fixes for url paths on Windows
  • Fixed bug not allowing config to be overridden via the command line
  • Removed logging statements


  • Initial version
Release History

Release History

This version
History Node


History Node


Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
dwupload-0.1.4.tar.gz (5.6 kB) Copy SHA256 Checksum SHA256 Source Jul 29, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting