Extracting file containing ":" or any symbol not allowed by windows gives errors #418

Open
opened 2026-01-29 22:11:36 +00:00 by claunia · 2 comments
Owner

Originally created by @hliriano03 on GitHub (Oct 18, 2020).

I am trying to extract an .IPA file, iTunes App. This app has a file with ":" in it and crashes program when trying to extract it due to not being allowed to create a folder with such character. I tried finding a work around but to no avail.

Originally created by @hliriano03 on GitHub (Oct 18, 2020). I am trying to extract an .IPA file, iTunes App. This app has a file with ":" in it and crashes program when trying to extract it due to not being allowed to create a folder with such character. I tried finding a work around but to no avail.
claunia added the question label 2026-01-29 22:11:36 +00:00
Author
Owner

@adamhathcock commented on GitHub (Oct 19, 2020):

what code are you using?

You probably have to do a more manual approach for extraction if there are invalid path characters in the archive key.

Don't use WriteAllToDirectory

@adamhathcock commented on GitHub (Oct 19, 2020): what code are you using? You probably have to do a more manual approach for extraction if there are invalid path characters in the archive key. Don't use `WriteAllToDirectory`
Author
Owner

@hliriano03 commented on GitHub (Oct 19, 2020):

Yes i am using that code. Due to once im done extracting i would need to compile .ipa file back exactly how it was. Including the invalid characters.

I tried just copying folder name and removing the invalid character then extracting each file to that folder, (there is another file with same invalid character that i need to extract also.) But im not able to to since its a binary

@hliriano03 commented on GitHub (Oct 19, 2020): Yes i am using that code. Due to once im done extracting i would need to compile .ipa file back exactly how it was. Including the invalid characters. I tried just copying folder name and removing the invalid character then extracting each file to that folder, (there is another file with same invalid character that i need to extract also.) But im not able to to since its a binary
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#418