Questions tagged [cadaver]

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 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.

10 questions
3
votes
6 answers

How to programmatically move files into a WebDAV directory

I would like to programmatically move a group of files from a local directory into a WebDAV directory. I am guessing a simple batch file would not work because it is a WebDAV directory. Note: the machine is Windows Server 2003 so there is no…
joe
  • 16,988
  • 36
  • 94
  • 131
2
votes
1 answer

Moving file on WEBDAV server returns 404 even though file exists

I can't move specific files on our server via webdav forth and back and can't find the source of the issue. Some examples: Works: README.md -> README1.md -> README.md Works: db.xml.gz -> db.xml.bla -> db.xml.gz Doesn't work: db.xml.gz ->…
frauzufall
  • 57
  • 1
  • 6
2
votes
0 answers

How to upload files with spaces in their name with Cadaver?

I am using Cadaver to upload files via WebDAV when they appear in a folder. Cadaver needs two arguments to upload a file, the first being "put" and the second being the filename to the file, so something like: put /media/Hello would work. Im writing…
1
vote
0 answers

Cadaver WebDavTransfer Untrusted SSL Cetificate

cadaver -t https://ftp.example.com WARNING: Untrusted server certificate presented for `*.example.com': Issued to: Secure Link SSL Wildcard, site, site, S.L.U, Avda , M, M , 2, E Issued by: Network Solutions L.L.C., H, V, US Certificate is valid…
Arthur
  • 11
  • 5
1
vote
2 answers

Cadaver ignoring or not reading/locating the .netrc file for automatic login

I'm unable to automatically log in to a webdav server using cadaver. I've set up my ~/.netrc file as suggested: machine https://webdav.server.com/ login me password password and changed the permissions using chmod 600 so that 'ls -l…
Anna S.
  • 153
  • 2
  • 7
0
votes
1 answer

Cadaver bash script upload

Please note: I need to insert some spaces in URLs, because of the restrictions of StackOverflow. I have a FreeBSD server. I need to backup my previously tar.gz databases on a WebDav cloud storage as Yandex Disk or Box.com or 4Shared. Everything…
user9213279
  • 1
  • 1
  • 1
0
votes
1 answer

How can I ensure a transfer is done in binary mode using the cadaver command-line tool for WebDAV upload?

I'm doing a transfer of a tar.gz file to a client WebDAV server. I want to ensure that the transfer is done in binary mode, i.e. like the "bin" option in ftp. The man command doesn't indicate anything about the default transfer mode. Can anyone…
carbontracking
  • 1,029
  • 4
  • 17
  • 33
0
votes
1 answer

How to overwrite or at least delete a remote file via cadaver with webdav server?

I'm sending backups offiste via webdav, they are on a monthly rotation so I just want my uploads to overwrite last months files on the webdav server: cadaver https://files.server.com/webdav/ <
trafalgar
  • 716
  • 3
  • 9
  • 21
0
votes
2 answers

Delete files using WebDav by pattern

Is it possible to delete files using WebDav by file name pattern? For example, I want delete all files with prefix hello (hello_*)
fedor.belov
  • 22,343
  • 26
  • 89
  • 134
0
votes
1 answer

LOCK PUT UNLOCK with cURL / WebDAV

My idea is to LOCK a file on an apache/WebDAV server, PUT an updated version of it on the server and UNLOCK it afterwards. I just tried the following with cadaver: create a file A.txt with content a file GET file A.txt which yields a file edit…
ezdazuzena
  • 6,120
  • 6
  • 41
  • 71