Posted by Bob A on July 31, 2014 at 06:47:45:
In Reply to: Re: IMHO... CometExpress needs a "sanity check" for the length of new file name posted by Grant Foraker on July 31, 2014 at 06:13:53:
thanx for the help of the code.....
I have a program of my own for this but the issue now seems to be that the maximum value of the 4 character hex # is:
FF FF FF FF => 4,294,967,295
when we get over this number we have to convert to extended keyed files but then the count doesn't work because the actual file size would need to be (maybe) 8 characters:
FF FF FF FF FF FF FF FF => 18,446,744,073,709,551,615
as it stands I think we get the truncated size... which for this file happens to come up as a negative number by my program... I'm pretty sure if I can get the other (most significant) hex digits I can get the right number.
P.S. my program uses IHEXASC on the whole 4 byte number (after swapping the digits around (1234 => 4321) maybe your method might work differently.. dunno... will try to get back to you on this....
Post a Followup
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.