I have a big folder that I want to send a zipped version of it while saving on the sub-folders hierarchy.
currently I'm doing it by creating a large zip file and sending it.
I'm looking for a way to write the folder content to some outputstream that will be redirected to a socket output stream.
my motivation is to avoid from keeping large files in my machine on run time
I know how to do that for a single file, but have no idea how to process a folder with many sub folders and save the inner hierarchy...
thanks!