# Export folder listing doesn't work for checksum (md5, SHA-1)

**URL:** https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421
**Category:** Help & Support
**Created:** [September 2, 2019, 9:55am UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421 "2019-09-02T09:55:45Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Gerrit](https://resource.dopus.com/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@Gerrit](https://resource.dopus.com/u/Gerrit)
#### Post date: [September 2, 2019, 9:55am UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/1 "2019-09-02T09:55:45Z")

</div>

I tried to export the attached folder listing with Dopus 12.16 build 7143 but it seems that md5 checksums can't be exported at all and SHA-1 only for small files. If the exported files become bigger the checksum columns remain completely emtpy. I tried all three formats (txt, csv, tab-txt), none of them worked.

 ![checksum_export_failed](https://resource.dopus.com/uploads/default/original/3X/b/4/b4266e15004e5ea925b01a8cd27b9f367779bfb5.png)  
best regards  
Gerrit

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [September 2, 2019, 6:31pm UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/2 "2019-09-02T18:31:22Z")

</div>

Currently:

- Large files having neither checksum is due to the maximum size limit, which can be changed under **Preferences / Miscellaneous / Advanced [Limits]: max\_md5\_file\_size**.

That said, in the next update, we'll make it so Print/Export Folder ignores the size limit entirely. If you're exporting that data, you probably always want it to be calculated in full, so we'll make that change.

The other issue, where only one of the two checksums appears in the Print/Export Folder output, is a bug. We've fixed that for the next update. Many thanks for reporting it!

---

<div class="post-metadata">

### Author: ![Gerrit](https://resource.dopus.com/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@Gerrit](https://resource.dopus.com/u/Gerrit)
#### Post date: [September 11, 2019, 10:06am UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/3 "2019-09-11T10:06:54Z")

</div>

> [@Leo](#):
>
> That said, in the next update, we'll make it so Print/Export Folder ignores the size limit entirely. If you're exporting that data, you probably always want it to be calculated in full, so we'll make that change.
> 
> The other issue, where only one of the two checksums appears in the Print/Export Folder output, is a bug. We've fixed that for the next update. Many thanks for reporting it!

I can confirm that in the latest beta the export of MD5 checksums works now and that's valid for the new "ignore size limit" feature too.

Can perhaps someone help me to make this work for SHA-256 too?  
I know that this is possible with the help of the "FSUtil.Hash" but unfortunately I don't have a clue how to create a button that generates the SHA-256 checksum for the selected files and display the result in a custom column that can be exported via Print/Export Folder.

Many thanks for the quick response / fix and keep up the good work!  
Gerrit

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [September 11, 2019, 10:11am UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/4 "2019-09-11T10:11:51Z")

</div>

We can help with scripting if you link your account.

---

<div class="post-metadata">

### Author: ![Gerrit](https://resource.dopus.com/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@Gerrit](https://resource.dopus.com/u/Gerrit)
#### Post date: [September 12, 2019, 6:49am UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/5 "2019-09-12T06:49:14Z")

</div>

Nothing could be simpler. Done!  
best regards  
Gerrit

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [September 15, 2019, 6:04pm UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/6 "2019-09-15T18:04:21Z")

</div>

Here's the script. I made a new post for it: [Column: SHA-256](https://resource.dopus.com/t/column-sha-256/33525)

---

<div class="post-metadata">

### Author: ![Gerrit](https://resource.dopus.com/letter_avatar_proxy/v4/letter/g/b9bd4f/32.png) [@Gerrit](https://resource.dopus.com/u/Gerrit)
#### Post date: [September 16, 2019, 11:26am UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/7 "2019-09-16T11:26:43Z")

</div>

Thank you very much for the script, Leo! Much appreciated!  
Looking at the SHA-256 column in a lister window, everything seems to be okay, but when I make an export of the folder listing the SHA-256 entries for files bigger than about 1,2 gigabyte are missing.  
Is there a file size limit for SHA-256 checksums too?

best regards  
Gerrit

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [September 16, 2019, 2:51pm UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/8 "2019-09-16T14:51:32Z")

</div>

Not a size limit exactly, but a time limit on how long Opus will wait for script columns to calculate. Usually that makes sense, in case the script has gone into an endless loop, but not with a hash calculation which can take a very long time.

We'll need to make a code change to allow scripts to override the default (10 second) timeout, which we'll do in the next beta. Once that is out, I'll update the script to use it.

---

<div class="post-metadata">

### Author: ![Leo](https://resource.dopus.com/user_avatar/resource.dopus.com/leo/32/69732_2.png) [@Leo](https://resource.dopus.com/u/Leo)
#### Post date: [October 1, 2019, 6:09pm UTC](https://resource.dopus.com/t/export-folder-listing-doesnt-work-for-checksum-md5-sha-1/33421/9 "2019-10-01T18:09:19Z")

</div>

Now that 12.17.1 beta is out, I've updated the script (in the thread linked above) to use the new `timeout` property, which solves the issues with large files.
