TWSD-567 - APV runs out of hard disk memory after upgrade several times

Review Request #879 — Created May 21, 2025 and submitted

shuinvy
APV10
rel_apv_10_7
TWSD-567
jasonchang, marychou, timlai, timsu

Check old uploaded files when clicking Upload button

  1. When user click "Choose Update File" button, it will call API: /check_before_upload
  2. The new API "check_before_upload" will remove old .array files in webui_upload firectory and hold in config mode
  3. After uploading completed, the config mode is released.
  4. Add common function in utils for remove files in a given path of a directory
  5. Because the upload function is a library, I only check it when the url path is in System Update page (/apv/system/management/update/_edit)

jasonchang
  1. Ship It!
  2. 
      
shuinvy
Review request changed

Status: Closed (submitted)

Loading...