Added protocol parameter to ownCloud finish command