Change / Assign a new name to a Binary File

Hi, I am fetching a file from a URL, then I need to change its name before saving/writing it. Is it possible?

Hi @igcorreia

Yes, this is possible.

You need to use

  • HTTP node to read file. You have an option there to read as a file.

  • Write binary file node, using data property. You can define destination path. I recommend using a file path with this format ~/filename.extension (always saved inside /root/ folder if you are running n8n with docker).

Hope this helps,

3 Likes