TWSD-996: Download file name from SCP is not same as show debug file

Review Request #1306 — Created Jan. 12, 2026 and submitted

williamkuan
APV10
rel_apv_10_7_4
TWSD-996
kevin.poh, mingji, weikai

Root Cause:
The original debug_scp.c only match suffix with .gpg & sys_debug.tar.gz,
but with the CLI command: show debug file, sys_debug file is along with timestamp, like sys_debug_20260112_051232.tar.gz.
Result in scp only send .gpg

Solution:
Match sys_debug.tar.gz with extra timestamp: sys_debug_20260112_051232.tar.gz

Under array:

show debug file

sslkeylog
sys_debug_20260112_051232

debug scp "root@192.168.97.201:/tmp" // "" is needed

Under root:

ls -l /tmp/ | grep sys_debug

sys_debug_20260112_051232.tar.gz

mingji
  1. Ship It!
  2. 
      
kevin.poh
  1. Ship It!
  2. 
      
williamkuan
Review request changed

Status: Closed (submitted)

Loading...