#1 2012-04-27 16:53:44

Ahhouais
Member
Registered: 2011-06-01
Posts: 10

md5-checksum : 31 chars

Tags: [bug]

Hi all,

I'm using 4.2.3 version of TIS.
I've noticed that for some files of an FTP serveur, the md5-checksum is not always 32 chars long when using the tFTPFileProperties. For example, when the  md5-checksum gives me 9daefc3397d61e35581acc7380e763a (31 chars) with tFTPFileProperties. But when I've downloaded it, the   md5-checksum is 09daefc3397d61e35581acc7380e763a (32 chars) with the tFileProperties... If the solution is to add a 0, I can manage with it.

Thanks,

Offline

#2 2012-05-02 04:11:16

pedro
Member
Registered: 2011-11-17
Posts: 3682

Re: md5-checksum : 31 chars

Hi

The code related to md5 is

Code:

row1.md5 = new java.math.BigInteger(1,
                            dgs_tFTPFileProperties_1.digest()).toString(16);

Maybe this is due to that BigInteger() method needs to be converted into String.
Please report it on BugTracker.

Regards,
Pedro


Only Paranoid Survive.

Offline

Board footer

Powered by FluxBB