Download of zip file fails #2516
Unanswered
GeorgeGkinis
asked this question in
Q&A
Replies: 2 comments
-
Hey @GeorgeGkinis, there are 2 issues in there:
This should work: input:
generate:
mapping: root = {"url":"https://data.binance.vision/data/spot/daily/trades/1INCHUSDT/1INCHUSDT-trades-2023-03-20.zip"}
interval: 0
count: 1
pipeline:
processors:
- mapping: |
root = ""
meta url = this.url
- http:
verb: GET
url: ${! meta("url")}
output:
file:
path: downloaded.zip
codec: all-bytes LE: I converted this to a discussion as per #2026. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Thanks @mihaitodor, works perfectly :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to download historical data from binance:
The output is:
The strange thing the following works from the same terminal session, same PC:
CURL:
curl --output download.zip https://data.binance.vision/data/spot/daily/trades/1INCHUSDT/1INCHUSDT-trades-2023-03-20.zip && ll download.zip % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 255k 100 255k 0 0 118k 0 0:00:02 0:00:02 --:--:-- 118k -rw-rw-r-- 1 q q 261558 avril 14 13:31 download.zip
GO:
Any ideas why this only happens in benthos?
Beta Was this translation helpful? Give feedback.
All reactions