A receiver appointed in an action or special proceeding must, before entering upon his duties, execute and file with the clerk of the court in which the action is pending an undertaking payable to the adverse party with at least two sufficient sureties in a penalty fixed by the judge making the appointment, conditioned for the faithful discharge of his duties as receiver. And the judge having jurisdiction thereof may at any time remove the receiver, or direct him to give a new undertaking, with new sureties, and on the like condition. This section does not apply to a case where special provision is made by law for the security to be given by a receiver, or for increasing the same, or for removing a receiver. (Code, s. 383; Rev., s. 849; C.S., s. 862.)