Project

General

Profile

Actions

CompressPdf #469

open

Storage: Update Output File Storage Structure

Added by Zahid Hassan over 1 year ago. Updated over 1 year ago.

Status:
Complete
Priority:
High
Assignee:
Category:
feature
Target version:
Start date:
09/30/2024
Due date:
09/30/2024 (about 19 months late)
% Done:

100%

Estimated time:
8:00 h

Description

Description:

We need to change the current folder structure for storing output files. The new structure will involve creating separate folders for each output file, with each folder named by its index (0, 1, 2, 3, ...). This change will simplify file management and ensure that the downloaded files have accurate names without any index prefix.

Changes to Implement:

New Folder Structure:

  • Create a dedicated folder for each output file based on its index.
  • The folder name will simply be the index (e.g., 0/, 1/, 2/, etc.).
  • Serve output storage path as downloadable link.

File Naming:

  • The output files will retain their original names without any index included. For example, instead of 0_file_name.pdf, it will be just file_name.pdf.

Update Code:

  • Modify the existing code responsible for storing output files to accommodate the new folder structure and naming convention.
  • Ensure that when a file is downloaded, the file name remains accurate.

Benefits:

Improved Clarity: Users will see files with their original names without unnecessary indices.
Simplified Management: Easier navigation and management of output files in the storage structure.

Actions #1

Updated by Redmine Admin over 1 year ago

  • Status changed from To Do to Complete
Actions

Also available in: Atom PDF