use winrar to 'store' a file??

kenny1999

Member
some people say we can use winrar to ''store'' a file.
what is that actually mean??
what's the difference between that we keep a file alone and that it's made into a rar archive and store it?
 
Doesn't really make any sense to store a file in a RAR archive. It'll take up just as much room there as just being plain on your disk.
 
RAR will compress files, so it will take up less space depending on the file you are compressing. The downside of course is you need to extract it every time you need to edit it, and it takes time depending on how large it is.
 
As above you have some options.

You can compress, encrypt/password, and archive these files. There are also functions to chop it up into a lot of smaller files if you have smaller storage mediums (like CDs or similar). I believe the format even implements another layer of file integrity. It really just depends on what you're trying to do.
 
As above you have some options.

You can compress, encrypt/password, and archive these files. There are also functions to chop it up into a lot of smaller files if you have smaller storage mediums (like CDs or similar). I believe the format even implements another layer of file integrity. It really just depends on what you're trying to do.

Yes I am only interested in how it works and how to implement file integrity with winrar? I know pretty well how to split or encrypt the files, it's pretty easy
 
Yes I am only interested in how it works
What exactly? The program or the actual compression algorithm?

how to implement file integrity with winrar?
You don't need to do anything here, winrar (and most sane compression programs) by default calculate a checksum to make sure that the archive is not corrupted.
 
What exactly? The program or the actual compression algorithm?

You don't need to do anything here, winrar (and most sane compression programs) by default calculate a checksum to make sure that the archive is not corrupted.

how can they make sure no corruption when corruption happens to the archive themselves?
 
how can they make sure no corruption when corruption happens to the archive themselves?
Any file can become corrupted, it's not specific to just compressed archives. It verifies the file after compressing it to be sure it's correct, but anything after that could cause corruption such as a disk failure or power failure. Then again though, that can happen to any file.
 
how can they make sure no corruption when corruption happens to the archive themselves?
For each file, winrar calculates a checksum and stores it in the archive along the with the compressed file; when the file is uncompressed, its checksum is calculated again and then compared with the stored checksum to make sure that the file has not been altered.
 
Back
Top