By Khongpob Trisuriyasaengchot on August 5, 2022
Beginner

Frappe File Manager uploads file logic


frappe file manager is a service build in frappe framework that manages all file that upload or attach to DESK. and create file doctype record in database. to upload file via desk file manage use file content and file name to create a records name and file url path  in file doctype. as show below:


Duplicate File name and File content


  1. File name  => append hash and running number
  2. fileURL => point to original file path


Duplicate File name and different File content


  1. File name => append hash and running number
  2. FileURL => point to new file uploaded


Different File name and duplicate file content


  1. File name => new file name
  2. fileURL => point to original file path



More articles on Development



More articles on Development
Comments

No comments yet.

Add a comment
Ctrl+Enter to add comment