Closed aslamca closed 6 years ago
Hi,
I am trying to download a file to local storage on ios. Download completes 100% but unable to save it in local storage.
std::string filePath = FileUtils::getInstance()->getWritablePath() + "cuts.zip"; // path used for storing get_bytesfuture = reference.GetFile(filePath.cstr(), &this->listener);
Getting an error "The file couldn’t be opened because the specified URL type isn’t supported."
Could you please help me to solve this?
It is working after adding a prefix "file://" to the file path.
Thanks,
Hi,
I am trying to download a file to local storage on ios. Download completes 100% but unable to save it in local storage.
std::string filePath = FileUtils::getInstance()->getWritablePath() + "cuts.zip"; // path used for storing get_bytesfuture = reference.GetFile(filePath.cstr(), &this->listener);
Getting an error "The file couldn’t be opened because the specified URL type isn’t supported."
Could you please help me to solve this?