WebDAV Server

WebDAV Server


With this application you can mount any directory on your phone, including memory card, as a drive on Windows or Linux. You can also use a WebDAV client to browse a phone directory.

This application has been tested using Windows8 Explorer (should also work with Windows7 but it will not work on WindowsXP) and WebDAV client bitkinex. You can download it from http://www.bitkinex.com/

Special thanks to: Beatriz Vera, Peter Ulrich, Gabor Fodor, Manuela Merino García and Anna Rainieri.

Implemented Intents
com.theolivetree.webdavserver.StartWebDavServer
com.theolivetree.webdavserver.StopWebDavServer

You can find a lock setting to specify how the device should be kept awake while server is running. There are three modes available:
New locks used
*SCREEN_DIM_WAKE_LOCK : Existing mode. Screen is on so energy consumption is higher. Use this mode if connections is dropped.
*WIFI_MODE_FULL : New mode. Screen is off so device will use less energy while server is running but data connection can be dropped. It is not recommended to use this mode.
*WIFI_MODE_FULL_HIGH_PERF: New mode only available on Android >= 3.1. Screen is off so energy consumption should be less than in the first mode. This mode is recommended to save energy but you might find problems so you might to select default lock mode.

How to connect with WebDAV server using USB cable:

This can useful when you have USB cable and no network available.
1) On your phone go to Settings->Applications->Development and set option "USB debugging".
2) Connect your phone to your PC using USB cable.
3) Start adb server. On your PC run command "adb start-server".
adb is a program that you can find on android sdk. Usually you will find it on android-sdk\platform-tools\adb.
4) Forward needed ports from your PC to your phone. On your PC run command "adb forward tcp:8080 tcp:8080"
With this, any connection in your pc to 127.0.0.1:8080 will be forwarded to your phone in port 8080.
5) Run WebDAV server in your phone, open settings and in "Network interfaces" select "Loopback (127.0.0.1)"
6) Start WebDAV server.
7) In your PC connect your WebDAV client to http://127.0.0.1:8080 (port might be different, it depends on your WebDAV Server configuration).

Permissions needed:

INTERNET
ACCESS_NETWORK_STATE
ACCESS_WIFI_STATE

Network permission to enable server to open network communication with WebDAV clients.

WRITE_EXTERNAL_STORAGE

Enables WebDAV server write received files from WebDAV clients on sdcard.

WAKE_LOCK

Keeps phone wake only while server is running. If phone is not wake WebDAV server can not be accessed.

Problems with big files:

If you have problems handling big files it might be due to a limitation in Windows webdav client. You can try the following to increase the size of files that Windows webdav client is able to manage:

1) You have to turn on BasicAuth via regedit to allow accessing the App's server by username and password.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters]
"BasicAuthLevel"=dword:00000002

2) You have to change Window's limit to file size when using the integrated WebDAV client.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters]
"FileAttributesLimitInBytes"=dword:000f4240

3) Restart windows.

This allows file sizes up to 4 Gigabytes handled by the client.

Recent changes:
Material design
Bug fixing
Add to list
Free
82
4.1
User ratings
318
Installs
10,000+
Concerns
0
File size
2468 kb
Screenshots
Screenshot of WebDAV Server Screenshot of WebDAV Server Screenshot of WebDAV Server Screenshot of WebDAV Server
About WebDAV Server
With this application you can mount any directory on your phone, including memory card, as a drive on Windows or Linux. You can also use a WebDAV client to browse a phone directory.

This application has been tested using Windows8 Explorer (should also work with Windows7 but it will not work on WindowsXP) and WebDAV client bitkinex. You can download it from http://www.bitkinex.com/

Special thanks to: Beatriz Vera, Peter Ulrich, Gabor Fodor, Manuela Merino García and Anna Rainieri.

Implemented Intents
com.theolivetree.webdavserver.StartWebDavServer
com.theolivetree.webdavserver.StopWebDavServer

You can find a lock setting to specify how the device should be kept awake while server is running. There are three modes available:
New locks used
*SCREEN_DIM_WAKE_LOCK : Existing mode. Screen is on so energy consumption is higher. Use this mode if connections is dropped.
*WIFI_MODE_FULL : New mode. Screen is off so device will use less energy while server is running but data connection can be dropped. It is not recommended to use this mode.
*WIFI_MODE_FULL_HIGH_PERF: New mode only available on Android >= 3.1. Screen is off so energy consumption should be less than in the first mode. This mode is recommended to save energy but you might find problems so you might to select default lock mode.

How to connect with WebDAV server using USB cable:

This can useful when you have USB cable and no network available.
1) On your phone go to Settings->Applications->Development and set option "USB debugging".
2) Connect your phone to your PC using USB cable.
3) Start adb server. On your PC run command "adb start-server".
adb is a program that you can find on android sdk. Usually you will find it on android-sdk\platform-tools\adb.
4) Forward needed ports from your PC to your phone. On your PC run command "adb forward tcp:8080 tcp:8080"
With this, any connection in your pc to 127.0.0.1:8080 will be forwarded to your phone in port 8080.
5) Run WebDAV server in your phone, open settings and in "Network interfaces" select "Loopback (127.0.0.1)"
6) Start WebDAV server.
7) In your PC connect your WebDAV client to http://127.0.0.1:8080 (port might be different, it depends on your WebDAV Server configuration).

Permissions needed:

INTERNET
ACCESS_NETWORK_STATE
ACCESS_WIFI_STATE

Network permission to enable server to open network communication with WebDAV clients.

WRITE_EXTERNAL_STORAGE

Enables WebDAV server write received files from WebDAV clients on sdcard.

WAKE_LOCK

Keeps phone wake only while server is running. If phone is not wake WebDAV server can not be accessed.

Problems with big files:

If you have problems handling big files it might be due to a limitation in Windows webdav client. You can try the following to increase the size of files that Windows webdav client is able to manage:

1) You have to turn on BasicAuth via regedit to allow accessing the App's server by username and password.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters]
"BasicAuthLevel"=dword:00000002

2) You have to change Window's limit to file size when using the integrated WebDAV client.

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\WebClient\Parameters]
"FileAttributesLimitInBytes"=dword:000f4240

3) Restart windows.

This allows file sizes up to 4 Gigabytes handled by the client.

Recent changes:
Material design
Bug fixing
User reviews of WebDAV Server
Write the first review for this app!
Android Market Comments
A Google User
May 5, 2015
Nice, But doesn't stop running after Exit. Have to kill the process ( ~26% CPU usage) NEXUS 7, 2013
A Google User
May 3, 2015
Allowed me to map my phone as an extra drive on my laptop without needing to plug it in.
A Google User
Apr 23, 2015
Working Good Working as expected. Makes the directory available as a drive on windows which makes ph management easy.Note : IT WORKS WITH Win XP TOO.
A Google User
Apr 22, 2015
Good Phải cài client (chứ explorer cứ loading thấy chán). Speed ~ , transfer xong phải chờ ghép file hay gì đó mấy phút (hiện copy 100%). Xài wifi file transfer cho lành.
A Google User
Apr 16, 2015
Great Saw this on YouTube. Works a treat does just what I want. Great job developer. I saw a post saying it does not work on kit-kat. I am running kit-kat and it worked within seconds. It would be nice if it would support the DNS name rather than the IP address as this can change in a DHCP system.
Version 1000000
Version 1000000