Weird behaviour for downloadFile
AndrewChupin opened this issue · comments
Andrew Chupin commented
I have store "open-store" with some files there, I can get info for such files, but when I'm trying to download it I get an error.
Actually all operations with "authType" or "privateKey" is failing.
I've changed private key, just for you to understand format.
Client info:
const client = Client.create(
"https://gnfd-testnet-fullnode-tendermint-us.bnbchain.org:443",
"greenfield_5600-1",
);
rk commented
object.downloadFile
is for use in the browser.
If you want to download file on Nodejs, you can use client.object.getObject
.
Andrew Chupin commented
Andrew Chupin commented
Added 0x one more time and now it works, thanks