Saving a file obtained by HTTP Request GET

Hi, I’m trying to use HTTP Request with GET and save the resulting file to disk after. The problem is that I’m not getting the necessary binary data that is expected to write to disk. The result of the GET Request is just a window that allows me to download the file manually, not automate the saving process. Is there any way to implement this for all kinds of media ?

It very much depends on what you are downloading and how. Please provide the URL to what you are attempting to download with n8n.

thank you Jabbson. I’m download a document from whatsapp and than pass the url to HTTP Request

The HTTP GET Request works ok but opens a windows to save the file manually.

I’m running n8n locally on docker, latest version of all apps

Where would you like to save it to? If Disk, then append a Write to file node after the HTTP Request node and use data as input binary field and the path to where you need to save it.

to the local file system

The problem is that I get no binary data from the GET Request:

So there is nothing to put on the binary field

If you need to store it to the local file system, then add a Write to file node after the HTTP Request node and use data as input binary field and the path to where you need to save it.

I have no binary field coming from the HTTP GET Request to pass along to the Write To File …. is there any specific configuration that needs to be done to get this field ? I have included the RESPONSE and the output to a variable, but no field gets generated …

show us how you configured your next node - write to file.

I tried to use a field called “data” but it does not exist …

change {{ $json.data }} to data

it worked! thank you very much for your help in such a obvious question …

إعجاب واحد (1)