i made a class to connect to webdav using curl and am trying to make a download method and am always getting an empty file when i open the page whts wrong with my code?