Closes #40
Allows downloading a file or directory to the host computer.
Implementation deviates slightly as I had troubles getting archive/tar to work properly. Both archive/tar and archive/zip have issues writing subdirectories. Weirdly this only happens if not using compression, otherwise it works fine.
In the future we can debug this and add options for file and compression formats.
Closes #40 Allows downloading a file or directory to the host computer. Implementation deviates slightly as I had troubles getting
archive/tar
to work properly. Botharchive/tar
andarchive/zip
have issues writing subdirectories. Weirdly this only happens if not using compression, otherwise it works fine.In the future we can debug this and add options for file and compression formats.