@Javier Gonzalez, To upload a file...
Bad option:
curl -X PUT "http://yourserver.com/owncloud/remote.php/webdav/file.zip" -F myfile=@"/Users/Javi/Downloads/file.zip"
For, the uploaded file will contain the http headers.
Better option:
curl -X PUT "http://yourserver.com/owncloud/remote.php/webdav/file.zip" --data-binary @"/Users/Javi/Downloads/file.zip"
Or just use curl -T filename url to upload
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…