Extract a ZipFile

I am new to Juilia, and i’m doing a project that needs download free-access files, but they are in ZIP format, and i wanna know how extract them, because when i tried to do it whit the ZipFile.Reader function it throws me ArgumentError: Invalid utf8 string: UInt8.

also if you can tell me the best option to download files it would help me a lot.

I use ZipFile.jl for this, so perhaps you should give that another look. Have you tried a simple test file?

1 Like

How can i do that?

Looking at the ZipFile package Reader has 3 forms:

Reader(io::IO, close_io::Bool)
Reader(io::IO)
Reader(filename::AbstractString)

Are you trying to pass the contents of the file to it?

1 Like

i tried with the filename, but now i’m using the InfoZIp package