Skip to content

2 Windows : using embtomcatwebdav in MS Windows

ag88 edited this page May 28, 2024 · 11 revisions

This page documents various guides for using embtomcatwebdav in MS Windows. This guide is based on MS Windows 10 (home edition)

Note that Java / JDK >= 1.8 (Java 8 and above) is required, to be installed prior. e.g. from

QR Code Gui v1.0.0 and newer

It is recommended to use version 1.0.0 and newer from releases. That has a QR Code Gui and it makes it much easier to use and manage embtomcatwebdav in windows.

Runing embtomcatwebdav

After you have installed Java / JDK, download the jar file from releases.

You can normally run it by simply double clicking the jar file.

To stop/shutdown embtomcatwebdav, simply click the 'stop' icon on the toolbar, or select 'File > stop server and exit' from the menu.

versions less than 1.0.0 do not have a Gui, in Windows to stop it after you simply 'double click' that, launch the task manager, right click on the task bar to find it. In Task manager look for a process java binary or some such app matching it that is running and kill it.

Running embtomcatwebdav in the command line command prompt / shell

If you use embtomcatwebdav v1.0.0 and newer, it has a QR Code Gui and this is optional.

Many (MS Windows) users are less familiar with working in a command prompt / shell. Running it from the command line provides a view of the running log in the command prompt window.

To start the command prompt, click/goto [Start] menu and type or search for cmd. Command Prompt should be offered as an option, select that and a command prompt Window should open. Common commands for navigating around are dir dir /w (list directory) and cd (change directory).

After you navigated to the directory containing the downloaded release jar file, you can then run the embtomcatwebdav jar file using

java -jar embtomcatwebdav-0.8.2.jar -h

which list the options available. running in a command prompt

To run the embtomcatwebdav literally, you can run it with

java -jar embtomcatwebdav-0.8.2.jar

running in a command prompt

In the above example, you can then point your web browser (e.g. Edge, Chrome etc) to http://localhost:8080/webdav, which should present a web page of the Upload servlet. The files that you see in the directory on the web page should be the directory that you run embtomcatwebdav-0.8.0.jar from. This can be changed by specifying it using the -P option or in the config file, see the main readme page for the details.

The normal way to stop that when running from a command prompt is simply to press control-c in the command prompt window.

Note that you can normally run it by simply double clicking the icon. The trouble is that it seemed there is 'nothing', but that actually it is running. Point your web browser to http://localhost:8080/webdav, and you would see the upload servlet.

To stop it after you simply 'double click' that, launch the task manager, right click on the task bar to find it. In Task manager look for a process java binary or some such app matching it that is running and kill it.