Frappe File Manager uploads file logic
By Khongpob Trisuriyasaengchot on August 5, 2022
BeginnerFrappe 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
- File name => append hash and running number
- fileURL => point to original file path
Duplicate File name and different File content
- File name => append hash and running number
- FileURL => point to new file uploaded
Different File name and duplicate file content
- File name => new file name
- fileURL => point to original file path
Was this article helpful?
More articles on Development