webDAV‎ > ‎

Cadaver

Cadaver adalah salah satu klien untuk mengakses webDAV. Salah satu layanan favorit gratis untuk webdav saat ini adalah 4shared.com.

root@poltek-kampar:~/admin# cadaver
dav:!> open http://webdav.4shared.com:80/wa/
Authentication required for file storage on server `webdav.4shared.com':
Username: root
Password: *******
dav:/wa/> help
Available commands:
 ls         cd         pwd        put        get        mget       mput
 edit       less       mkcol      cat        delete     rmcol      copy
 move       lock       unlock     discover   steal      showlocks  version
 checkin    checkout   uncheckout history    label      propnames  chexec
 propget    propdel    propset    search     set        open       close
 echo       quit       unset      lcd        lls        lpwd       logout
 help       describe   about
Aliases: rm=delete, mkdir=mkcol, mv=move, cp=copy, more=less, quit=exit=bye


Perhatikan bahwa webDAV mirip dengan ftp, jadi ada bagian local( yaitu komputer kita) dan remote (yaitu komputer server). Perintah yang paling powerful adalah mput dan mget. 

mkcol

Gunakan perintah mkcol untuk membuat sebuah koleksi / folder / direktori di server, perhatikan penggunaan kutip dua (karena ada spasi):
mkcol "Dimensions of belief"

cd / lcd 

Gunakan perintah cd untuk masuk ke koleksi / folder /direktori di server.
Gunakan perintah lcd untuk masuk ke local_change_directory, yaitu masuk ke direktori/folder lokal (di komputer kita)

Perhatikan perintah dibawah ini, perhatikan bahwa path folder di server 4shared kita juga ikut berubah: 
dav:/wa/> cd "Dimensions of belief"
dav:/wa/Dimensions of belief/>
Untuk masuk ke folder/direktori di komputer kita, gunakan perintah:
lcd "Dimensions of belief"
Sekali lagi, perhatikan penggunaan kutip dua, karena folder kita ada spasinya, walaupun kamu menekan tab dan autocomplete nya jalan, bukan berarti dia otomatis di quote space nya.

ls / lls

Gunakan perintah ls untuk list isi direktori server.
Gunakan perintah lls untuk list local direktori.

dav:/wa/Dimensions of belief/> help ls
 `ls [path]'   List contents of current [or other] collection
This command can only be used when connected to a server.
dav:/wa/Dimensions of belief/> help lls
 `lls [options]'   Display local directory listing

mput / mget

Gunakan mput untuk meng-upload secara many.
Gunakan perintah mget untuk mendownload secara many.

dav:/wa/Dimensions of belief/> help mput
 `mput local...'   Upload many local files
This command can only be used when connected to a server.
dav:/wa/Dimensions of belief/> help mget
 `mget remote...'   Download many remote resources
This command can only be used when connected to a server.

Contoh:

dav:/wa/Dimensions of belief/> mput *.docx
[Matching... 13 matches.]
Uploading Belief In The Final Day  (Section Five).docx to `/wa/Dimensions%20of%20belief/Belief%20In%20The%20Final%20Day%20%20%28Section%20Five%29.docx':
Progress: [=============================>] 100.0% of 18068 bytes succeeded.
Uploading Belief In The Prophet  (Section Three).docx to `/wa/Dimensions%20of%20belief/Belief%20In%20The%20Prophet%20%20%28Section%20Three%29.docx':
Progress: [=============================>] 100.0% of 14902 bytes succeeded.
Uploading Notes On Shukr  Section Eleven).docx to `/wa/Dimensions%20of%20belief/Notes%20On%20Shukr%20%20Section%20Eleven%29.docx':
Progress: [=============================>] 100.0% of 15313 bytes succeeded.
Uploading Concept Of God   (Section One).docx to `/wa/Dimensions%20of%20belief/Concept%20Of%20God%20%20%20%28Section%20One%29.docx':
Progress: [=============================>] 100.0% of 20404 bytes succeeded.
Uploading Belief in the Books Special Holy Quran (Section Two).docx to `/wa/Dimensions%20of%20belief/Belief%20in%20the%20Books%20Special%20Holy%20Quran%20%28Section%20Two%29.docx':
Progress: [=============================>] 100.0% of 16865 bytes succeeded.
Uploading Polytheism And Disbelief  (Section Seven).docx to `/wa/Dimensions%20of%20belief/Polytheism%20And%20Disbelief%20%20%28Section%20Seven%29.docx':
Progress: [=============================>] 100.0% of 16522 bytes succeeded.
Uploading Notes On Sabr  (Section Ten).docx to `/wa/Dimensions%20of%20belief/Notes%20On%20Sabr%20%20%28Section%20Ten%29.docx':
Progress: [=============================>] 100.0% of 15050 bytes succeeded.
Uploading Notes Of Hikmah (Section Nine).docx to `/wa/Dimensions%20of%20belief/Notes%20Of%20Hikmah%20%28Section%20Nine%29.docx':
Progress: [=============================>] 100.0% of 12979 bytes succeeded.
Uploading Tree Of IMAN  (Section Eight).docx to `/wa/Dimensions%20of%20belief/Tree%20Of%20IMAN%20%20%28Section%20Eight%29.docx':
Progress: [=============================>] 100.0% of 14787 bytes succeeded.
Uploading TAUHID ( ISLAMIC MONOTHEISM )  (Section Two).docx to `/wa/Dimensions%20of%20belief/TAUHID%20%28%20ISLAMIC%20MONOTHEISM%20%29%20%20%28Section%20Two%29.docx':
Progress: [=============================>] 100.0% of 15951 bytes succeeded.
Uploading Belief in the Angels  (Section Four).docx to `/wa/Dimensions%20of%20belief/Belief%20in%20the%20Angels%20%20%28Section%20Four%29.docx':
Progress: [=============================>] 100.0% of 19735 bytes succeeded.
Uploading Belief in the Books.docx to `/wa/Dimensions%20of%20belief/Belief%20in%20the%20Books.docx':
Progress: [=============================>] 100.0% of 16865 bytes succeeded.
Uploading Taqwa  (Section Six).docx to `/wa/Dimensions%20of%20belief/Taqwa%20%20%28Section%20Six%29.docx':
Progress: [=============================>] 100.0% of 14092 bytes succeeded.
dav:/wa/Dimensions of belief/> ls
Listing collection `/wa/Dimensions%20of%20belief/': succeeded.
        Belief In The Final Day  (Section Five).docx      18068  Apr 20 21:33
        Belief In The Prophet  (Section Three).docx      14902  Apr 20 21:33
        Belief in the Angels  (Section Four).docx      19735  Apr 20 21:33
        Belief in the Books Special Holy Quran (Section Two).docx      16865  Apr 20 21:33
        Belief in the Books.docx           16865  Apr 20 21:33
        Concept Of God   (Section One).docx      20404  Apr 20 21:33
        Notes Of Hikmah (Section Nine).docx      12979  Apr 20 21:33
        Notes On Sabr  (Section Ten).docx      15050  Apr 20 21:33
        Notes On Shukr  Section Eleven).docx      15313  Apr 20 21:33
        Polytheism And Disbelief  (Section Seven).docx      16522  Apr 20 21:33
        TAUHID ( ISLAMIC MONOTHEISM )  (Section Two).docx      15951  Apr 20 21:33
        Taqwa  (Section Six).docx          14092  Apr 20 21:34
        Tree Of IMAN  (Section Eight).docx      14787  Apr 20 21:33

Sekarang, Anda tinggal pergi ke 4shared.com anda, dan set sharing nya di sana ...
bagi yang ingin download file-filenya, ini linknya:


Comments