Check user login status using `bdpan whoami`.
Validate file paths to ensure they are within `/apps/bdpan/` and do not contain `../`.
Confirm the existence of the source file (for downloads) or the destination directory (for uploads).
Prompt the user for confirmation if there are potential conflicts (e.g., overwriting existing files).
Execute the appropriate `bdpan` command (upload, download, share, etc.).
Display the result to the user, translating API paths to user-friendly names.