Data conversion / write binary file - wrong file size

Describe the issue/error/question

We want to save a binary file from the ReadIMAP Node, but the file that is written on our disk shrunk in the size. The file size is like 3.104kb and our outut from the Write binary file output is only 1kb.

The goal of our Workflow is to convert the XLS file to an XLSX type.

What is the error message (if any)?

None

Workflow

Information on your n8n setup

  • **n8n version: 1.3.0
  • **Database you’re using: default Windows.
  • **Running n8n via desktop app

Hey @SamSC, welcome to the community and sorry for the trouble!

I assume this happens for all files and not just that one specific 3,104 KB one?

Edit: I gave this a quick go on my end and your workflow was running fine for me using the n8n desktop app on Windows. I’ve compared the SHA256 checksums of the file sent and the one received and they are identical.

So I wonder if the problem could be that we’re looking at different files here. Does your incoming email have multiple attachments by any chance? You can check this by looking at the IMAP Email node of your execution and then switch to the “binary” tab:

1 Like