How to download a file in chunks in a loop

Hello,

i try to download a file in chunks from google drive as i have files which are around 100-500mb which i want to process. But struggle to figure out how i can modify the next/starting byte for the chunk download.

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

ok, figured out, that i need to put the if at the end and then i can modify with a code block the startByte value. But got stuck now further.

The upload block gives me video_id and a session_id, which i need to feed again for the next request.

also the request has 3 states:

  • start
  • transfer
  • end

so i struggle to update these values after the first run

  • video_id
  • upload_phase
  • upload_session_id

they need to be placed in the body of the upload request to facebook.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.