Cadaver: Unterschied zwischen den Versionen

Aus Foxwiki
K Textersetzung - „== Syntax ==“ durch „== Aufruf ==“
 
(21 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt)
Zeile 3: Zeile 3:


== Beschreibung ==
== Beschreibung ==
cadaver is a command-line WebDAV client for Unix. It supports file upload, download, on-screen display, namespace operations (move/copy), collection creation and deletion, and locking operations.  
''Cadaver'' ist eine Befehlszeilenschnittstelle für WebDAV. Sie kann für automatisierte und skriptbasierte Kommandozeilenfunktionen, wie z. B. das Remote-Kopieren, nützlich sein.  


Cadaver is a command-line interface for WebDAV. It can be useful for automated and script-based command-line functions, such a remote copying.
''Cadaver'' unterstützt das
 
* Hochladen und Herunterladen von Dateien
WebDAV Client für Unix. Unterstützt: Upload, Download, namespace Operationen, (move/copy), Entwurf und Entfernung von Collections, locking Operationen
* Anzeige auf dem Bildschirm
* Namespace-Operationen (Verschieben/Kopieren)
* Erstellen und Löschen von Sammlungen
* Sperrvorgänge


== Installation ==
== Installation ==
Zeile 13: Zeile 16:


== Anwendungen ==
== Anwendungen ==
  $ cadaver [http://dav.example.com/ http://dav.example.com/]
  $ cadaver <nowiki>http://dav.example.com/</nowiki>


Connects to the server myserver.example.com, opening the root collection.
Connects to the server myserver.example.com, opening the root collection.


  cadaver [http://zope.example.com:8022/Users/fred/ http://zope.example.com:8022/Users/fred/]
  $ cadaver <nowiki>http://zope.example.com:8022/Users/fred/</nowiki>


Connects to the server zope.example.com using port 8022, opening the collection "/Users/fred/".
Connects to the server zope.example.com using port 8022, opening the collection "/Users/fred/".


  cadaver https://secure.example.com/
  $ cadaver <nowiki>https://secure.example.com/</nowiki>


Connects to a server called secure.example.com using SSL.
Connects to a server called secure.example.com using SSL.
Zeile 33: Zeile 36:
| ls [path] || List contents of current [or other] collection
| ls [path] || List contents of current [or other] collection
|-
|-
| cd path || Change to specified collectio
| cd path || Change to specified collection
|-
|-
| pwd || Display name of current collection
| pwd || Display name of current collection
Zeile 87: Zeile 90:
| quit || Exit program
| quit || Exit program
|-
|-
| unset [option] [value] || Unsets or clears value from option.
| unset [option] [value] || Unsets or clears value from option
|-
|-
| lcd [directory] || Change local working directory
| lcd [directory] || Change local working directory
Zeile 95: Zeile 98:
| lpwd || Print local working directory
| lpwd || Print local working directory
|-
|-
| logout || Logout of authentication sessio
| logout || Logout of authentication session
|-
|-
| help [command] || Display help message
| help [command] || Display help message
|}
|}


=== Fehlerbehebung ===
=== Problembehebung ===


== Syntax ==
== Aufruf ==
=== Optionen ===
=== Optionen ===
{| class="wikitable sortable options"
{| class="wikitable sortable options"
Zeile 120: Zeile 123:


=== Parameter ===
=== Parameter ===
=== Umgebungsvariablen ===
=== Umgebung ===
=== Exit-Status ===
=== Rückgabewert ===
== Konfiguration ==
== Konfiguration ==
=== Dateien ===
=== Dateien ===
Zeile 153: Zeile 156:
== Sicherheit ==
== Sicherheit ==
== Dokumentation ==
== Dokumentation ==
=== RFC ===
=== Man-Page ===
=== Man-Pages ===
=== Info-Pages ===
== Siehe auch ==
== Siehe auch ==
# [[ftp]](1)
# [[ftp]](1)
Zeile 161: Zeile 162:


== Links ==
== Links ==
=== Projekt-Homepage ===
=== Projekt ===
# http://www.WebDAV.org/cadaver/
# http://www.WebDAV.org/cadaver/


=== Weblinks ===
=== Weblinks ===
=== Einzelnachweise ===
<references />
== Testfragen ==
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 1''
<div class="mw-collapsible-content">'''Antwort1'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 2''
<div class="mw-collapsible-content">'''Antwort2'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 3''
<div class="mw-collapsible-content">'''Antwort3'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 4''
<div class="mw-collapsible-content">'''Antwort4'''</div>
</div>
<div class="toccolours mw-collapsible mw-collapsed">
''Testfrage 5''
<div class="mw-collapsible-content">'''Antwort5'''</div>
</div>


[[Kategorie:Netzwerke:Befehl]]
 
[[Kategorie:Linux:Befehl]]
[[Kategorie:Netzwerk/Befehl]]
[[Kategorie:Linux/Befehl]]
[[Kategorie:WebDAV]]
[[Kategorie:WebDAV]]
{{DEFAULTSORT:cadaver}}
{{DEFAULTSORT:cadaver}}

Aktuelle Version vom 12. November 2024, 18:46 Uhr

cadaver - A command-line WebDAV client for Unix

Beschreibung

Cadaver ist eine Befehlszeilenschnittstelle für WebDAV. Sie kann für automatisierte und skriptbasierte Kommandozeilenfunktionen, wie z. B. das Remote-Kopieren, nützlich sein.

Cadaver unterstützt das

  • Hochladen und Herunterladen von Dateien
  • Anzeige auf dem Bildschirm
  • Namespace-Operationen (Verschieben/Kopieren)
  • Erstellen und Löschen von Sammlungen
  • Sperrvorgänge

Installation

# apt install cadaver

Anwendungen

$ cadaver http://dav.example.com/

Connects to the server myserver.example.com, opening the root collection.

$ cadaver http://zope.example.com:8022/Users/fred/

Connects to the server zope.example.com using port 8022, opening the collection "/Users/fred/".

$ cadaver https://secure.example.com/

Connects to a server called secure.example.com using SSL.

Kommandos

Option Beschreibung
ls [path] List contents of current [or other] collection
cd path Change to specified collection
pwd Display name of current collection
put local [remote] Upload local file
get remote [local] Download remote resource
mget remote... Download many remote resources
mput local... Upload many local files
edit resource Edit given resource
less remote... Display remote resource through pager
mkcol remote... Create remote collection(s)
cat remote... Display remote resource(s)
delete remote... Delete non-collection resource(s)
rmcol remote... Delete remote collections and ALL contents
copy source... dest Copy resource(s) from source to dest
move source... dest Move resource(s) from source to dest
lock resource Lock given resource
unlock resource Unlock given resource
discover resource Display lock information for resource
steal resource Steal lock token for resource
showlocks Display list of owned locks
propnames res Names of properties defined on resource
-] remote Change isexecutable property of resource
propget res [propname] Retrieve properties of resource
propset res propname value Set property on resource
set [option] [value] Set an option, or display options
open URL Open connection to given URL
close Close current connectio
quit Exit program
unset [option] [value] Unsets or clears value from option
lcd [directory] Change local working directory
lls [options] Display local directory listing
lpwd Print local working directory
logout Logout of authentication session
help [command] Display help message

Problembehebung

Aufruf

Optionen

Option Beschreibung
-t, --tolerant Allow cd/open into non-WebDAV enabled collection; use if the server or proxy server has WebDAV compliance problems.
-r, --rcfile=file Use this rcfile rather than the default of ~/.cadaverrc
-p, --proxy=host[:port] Connect using the proxy host "host" and optional proxy port "port".
-V, --version Display version information and exit.
-h, --help Display this help message and exit.

Parameter

Umgebung

Rückgabewert

Konfiguration

Dateien

Option Beschreibung
~/.cadaverrc Individual user settings that can override cadaver defaults and to script cadaver. Can be changed by the "--rcfile" option.
~/.netrc Login and initialization information used by the auto-login process. See section "THE .netrc FILE" for details.

THE .netrc FILE

The file ~/.netrc may be used to automatically login to a server requiring authentication. The following tokens (separated by spaces, tabs or newlines) may be used:

Option Beschreibung
machine host Identify a remote machine host which is compared with the hostname given on the command line or as an argument to the open command. Any subsequent tokens up to the end of file or the nextmachine or default token are associated with this entry.
default This is equivalent to the machine token but matches any hostname. Only one default token may be used and it must be after all machine tokens.
login username Specifies the username to use when logging in to the remote machine.
password string passwd string Specifies the password to use when logging in to the remote machine.

Any other tokens are ignored.

Sicherheit

Dokumentation

Man-Page

Siehe auch

  1. ftp(1)
  2. smbclient(1)

Links

Projekt

  1. http://www.WebDAV.org/cadaver/

Weblinks