When I zip the folder "RootFolder" to "RootFolder.zip" using zipWithPassword, there is a wrong structure in the zip file. If only using zip, there is no problem.
Before zip:
RootFolder
---|__Folder
--------|__SubFolder
---------------|__1.txt
---------------|__2.txt
After zipped:
RootFolder.zip
---|__Folder
---|-----|__SubFolder
---|-----------|__1.txt
---|-----------|__2.txt
---|__SubFolder
----------|__1.txt
----------|__2.txt