Description
Describe the bug
A clear and concise description of what the bug is.
zipFile can't download completely in windows
Exception or Stack Trace
Add the exception log and stack trace if available
no error file, can't see what happend, file download more less than upload zip file.
To Reproduce
Steps to reproduce the behavior:
Code Snippet
Add the code snippet that causes the issue.
blobClient.downloadToFile(fileInfoDTO.getFileName())
Expected behavior
A clear and concise description of what you expected to happen.
I want download complete zipFile.
Screenshots
If applicable, add screenshots to help explain your problem.
in azure , upload file is work ,but download file is not work。
Setup (please complete the following information):
- OS: [e.g. iOS]
- IDE: [e.g. IntelliJ]
- Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]
- Java version: [e.g. 8]
- App Server/Environment: [e.g. Tomcat, WildFly, Azure Function, Apache Spark, Databricks, IDE plugin or anything special]
- Frameworks: [e.g. Spring Boot, Micronaut, Quarkus, etc]
in docker, springboot project, tomcat,java8
If you suspect a dependency version mismatch (e.g. you see NoClassDefFoundError
, NoSuchMethodError
or similar), please check out Troubleshoot dependency version conflict article first. If it doesn't provide solution for the problem, please provide:
- verbose dependency tree (
mvn dependency:tree -Dverbose
) - exception message, full stack trace, and any available logs
Additional context
Add any other context about the problem here.
BlobClient blobClient = BlobHelper.getBlobClient(storageConfig.getContainerName(), storageConfig);
GetFileInfoDTO fileInfoDTO = tcFileUploadService.selectUrlByUid2(uid);
// 下载文件
blobClient.downloadToFile(fileInfoDTO.getFileName());
Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report
- [Y ] Bug Description Added
- [ Y] Repro Steps Added
- [ Y] Setup information Added