A full version app for Android, by ADRIVE. The WebDAV Server is a tool that makes it easy to access and manage files on a remote computer. You can use it to browse a directory on your phone, including a memory card, as a drive on Windows or Linux. It enables you to access your p...
* public void upDate(final Handler handler) 更新文件 **/publicclassSyncManager {privateString serverHostUrl;//WebDav服务器地址,坚果云为:https://dav.jianguoyun.com/dav/privateString userName;//用户名privateString password;//密码privateSardine sardine;privateContext context;privateSettingManager settingMana...
在GitHub上搜索WebDAV Server项目,并下载最新的源代码; 将源代码导入到一个Java开发环境中(如Eclipse、IntelliJ IDEA等); 配置服务器参数,如端口号、根目录等; 启动服务器,确保能够在本地或远程访问到WebDAV服务。 四、在Android盒子上设置WebDAV 打开Android盒子,并连接到互联网; 在盒子的应用商店中搜索并安装Android...
new File("/file/on/disk"));sardine.put("http://yourdavserver.com/adirectory/nameOfFile.jpg", data);或者使⽤ InputStream fis = new FileInputStream(new File("/some/file/on/disk.txt"));sardine.put("http://yourdavserver.com/adirectory/nameOfFile.jpg", fis);节省内存空间 ...
WebDAV (Web-based Distributed Authoring and Versioning) 一种基于HTTP1.1协议的通信协议。它扩展了HTTP 1.1,在GET、POST、HEAD等几个HTTP标准方法以外添加了一些新的方法,使应用程序可对Web Server直接读写,并支持写文件锁定(Locking)及解锁(Unlock),还可以支持文件的版本控制。
@@ -33,6 +34,21 @@ android { } } afterEvaluate { publishing { publications { // Creates a Maven publication called "release". release(MavenPublication) { from components.release groupId = 'com.github.gregko' artifactId = 'Mini-WebDAV-server-for-Android' version = "$VERSION_NAME...
Mini WebDAV Server for Android I originally cloned this fromhttps://github.com/erspicu/Baxermux.server.http, however there was so much to change, fix, enhance, that I finally created a new Android app project, copied code fragments from Baxermux and continued from there. ...
AuthUserFile "D:/WebServer/apache/user.passwd" AuthDigestProvider file # Allow universal read-access, but writes are restricted # to the admin user. <LimitExcept GET OPTIONS> require user admin </LimitExcept> </Directory> # # The following directives disable redirects on non-GET requests for ...
sardine.put("http://yourdavserver.com/adirectory/nameOfFile.jpg", fis); 1. 2. 节省内存空间 (6).删除文件 sardine.delete("http://yourdavserver.com/adirectory/nameOfFile.jpg"); 1. 3.综合例子 这里给出一个简单的例子,可以把这些代码统一封装成一个类 ...
Mount Android device as a drive on Windows Explorer, so it becomes very convenient to operate files in Android device, just like the local files. Main features of BestDAV WebDAV Server Support GET, PUT, POST, DELETE, HEAD, OPTIONS, PROPFIND, PROPPATCH, MKCOL, MOVE, COPY, LOCK, UNLOCK. ...