As a general matter, you should consult the rules for the court in which the order to be appealed has been made and the rules for the court in which the appeal will be brought. Since 2017, the four departments of the appellate division have generally adhered to the same practice rules, although the Third Department has adopted its own supplement to the statewide rules.
New York’s highest court has ruled that for nonparties subpoenaed in ongoing criminal cases, there is no immediate right of appeal of a decision denying a motion to quash a subpoena. People v. Juarez, 31 N.Y.3d 1186, 1190–91 (N.Y. 2018). However, the court acknowledged that it was not deciding whether an appeal may be brought by commencing a proceeding under CPLR article 78 (which is used for challenging administrative actions by a body or officer in New York State), suggesting it may be possible to do so. Id. at n.5.