Skip to content

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

@AntonERG

Description

@AntonERG

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions