thesuhu

WebDAV Client

Oct 5th, 2020 (edited)
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.79 KB | None | 0 0
  1. <-- webdav client command line
  2. download: https://sourceforge.net/projects/davutils/files/
  3. doc: https://davutils.sourceforge.io/docs/dav1/index.html -->
  4.  
  5. <-- contoh configuration -->
  6. <-- letakan file ini di folder $HOME/.dav/config.xml atau C:\Users\<usrname>\.dav\config.xml -->
  7. <?xml version="1.0" encoding="UTF-8"?>
  8. <configuration>
  9.     <repository>
  10.         <name>edropbox</name>
  11.         <url>https://e-dropbox.webku.com/remote.php/webdav/</url>
  12.         <user>nama.user</user>
  13.         <password>TG92ZTI0MXQhIw==</password>
  14.     </repository>
  15. </configuration>
  16.  
  17. <-- contoh upload
  18. dav put edropbox d:/temporary/wget.txt
  19. dav put edropbox/Text d:/temporary/wget.txt
  20. -->
  21.  
  22. <-- contoh membuat direktori
  23. dav mkdir edropbox Text
  24. dav mkdir edropbox/Documents/PDF
  25. -->
  26.  
  27. <-- contoh menghapus file
  28. dav remove edropbox wget.txt
  29. -->
Add Comment
Please, Sign In to add comment