cancel
Showing results for 
Search instead for 
Did you mean: 

.CHK field in MGL format Import / Export Command Files

Solved
MEGA Partner

.CHK field in MGL format Import / Export Command Files

In Commnd Files (Mega Administration - Supervisor Pdf), the .CHK field is described to be :

 

".CHK" is the concatenation of the following IdAbs:

IdAbs of the object

IdAbs of object authorization

In the case of the MGL, the IdAbs of the user that made this command.

 

In the examples given, .CHK typically has the fom shown below:

 

.CHK "GZB5hOXE)Sq0C30000mCpCpC"

 

My understanding of the meaning of "concatenation" is that if one has two values "string1" and "string2", typically strings, then the concatenation of these is "string1string2" i.e. a literal appending of one value to the other.

 

This is obviously not how the .CHK value is created if one considers the typical Id values, whether in16-bit of hexadecimal format.

 

What is the exact algorithm by which the .CHK is derived?

 

Is there a function on the Mega classes that allows its easy calculation?

 

Thanks in advance.

 

1 Reply
MEGA Partner

Re: .CHK field in MGL format Import / Export Command Files

I've experimented with the export files and answered my own question ... PLBCAC Smiley Wink