On Wed, 7 May 2008, Yury Batrakov wrote:
It's quite obvious and I already can save office files, but the problem is to save zip and other files: I don't know which of the streams in _1271662200 should i open and save. Word, Excel and others have some predefined stream name, but all others don't.

For zip, should be easy. Open each one in turn, check the first few bytes and see if they are the zip header. If so, save that

For text, I guess just open it and see if it looks text like (mostly just bytes in the right ranges)

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to