I have a simple route that downloads a ZIP file and puts it onto my local system. But when i try to read (via code) or open the zip (by double clicking on the file) i get an exception:
java.util.zip.ZipException: invalid entry size (expected 106152 but got 107190 bytes)
I know the file isnt corrupted, as i can download it with WinSCP.
Fixed it: Just needed to add to the uri: binary=true
Retrieving data ...