can not upload file in directory that is created before

Created on 16 December 2020, about 4 years ago
Updated 17 January 2025, about 2 months ago

Hi all
I tried to use this module with FTP server
I edit settings and added schema with ftp definition.

every thing works fine but I faced two problems.
I enabled flysystem for field_image in article content type in order to store images in ftp server.

problem one: speed is very low . but I say it doesn't matter.

problem two and big problem, as you know Drupal 8 by default save files in folders named Year-Month for example 2020-12.
problem is when this folder is created before in path, new image can not be uploaded in it.

I checked recent log messages and I found this error:

"The upload directory 2020-12 for the file field field_image could not be created or is not accessible. A newly uploaded file could not be saved in this directory as a consequence, and the upload was canceled."

I don't know what should I do.

💬 Support request
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇮🇷Iran Mehrdad201

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024