ionic-team / ionic-team/capacitor-file-transfer

FileTransfer.downloadFile() returns error: Cannot create directory on Android

Open
#16 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
11
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## Bug Report

### Capacitor Version

```
💊 Capacitor Doctor 💊

Latest Dependencies:

@capacitor/cli: 7.4.2
@capacitor/core: 7.4.2
@capacitor/android: 7.4.2
@capacitor/ios: 7.4.2

Installed Dependencies:

@capacitor/cli: 7.4.1
@capacitor/android: 7.4.1
@capacitor/ios: 7.4.1
@capacitor/core: 7.4.1

[success] iOS looking great! 👌
[success] Android looking great! 👌
```

### Platform(s)

Android

### Current Behavior

Cannot create directory when try to FileTransfer.downloadFile().

Issue happens occasionally, when try to download simultaneously 30 files - issue happens with one of the files.

### Expected Behavior

Should be recursive - e.g. create all necessary subfolders to download file

Image

### Code Reproduction

### Other Technical Details

### Additional Context

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.