The empty directories are also correctly present in the zip file with entire remote directory contents. However, the bug is that while unzipping this zip file, the empty directories are not created.
The workaround is that you can manually extract the zip file (using winzip, etc) and get the exact remote structure including empty directories.
The zip file is present in the same directory where the output is stored.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The empty directories are also correctly present in the zip file with entire remote directory contents. However, the bug is that while unzipping this zip file, the empty directories are not created.
The workaround is that you can manually extract the zip file (using winzip, etc) and get the exact remote structure including empty directories.
The zip file is present in the same directory where the output is stored.