SingleFileZ icon indicating copy to clipboard operation
SingleFileZ copied to clipboard

Save the web page files with the original name

Open Saectar opened this issue 3 years ago • 2 comments

When opening the compressed I find that the files have not been saved with their original name. Is there a possibility to save the downloaded web page files with their original name?

This would be particularly useful to be able to download image galleries keeping the original name of the images.

Thanks.

Saectar avatar Mar 25 '22 09:03 Saectar

I decided to do it this way because, since SingleFileZ can run on Windows, macOS, Linux, Android etc., the allowed characters and the length of file names vary from one filesystem to another. Thus I rule out a whole class of problems that I cannot anticipate or test. The correspondence with the original URLs are nevertheless kept in the manifest.json file at the root of the zip. They are also provided as comments for each entry in the zip file.

gildas-lormeau avatar Mar 25 '22 12:03 gildas-lormeau

I understand... Although there could be an option that is not by default, but allows the user to choose whether or not to save the files with their original names.

Saectar avatar Mar 25 '22 22:03 Saectar