ftp_delete()
Priya only reaches for ftp_delete() when a ftp_delete dry-run has to stay correct in lab hour.
For ftp_delete(), the PHP runtime is in play. Don’t blame it until you have traced a ftp_delete dry-run.
ftp_delete() exists so Priya can keep a ftp_delete dry-run correct in lab hour.
Use ftp_delete() when a ftp_delete dry-run must stay clear. If a simpler PHP step works, use that instead.
ftp_delete() trap — skipping the failure case for ftp_delete. Priya loses marks for that every viva.
After ftp_delete(), Priya should still remember skipping the failure case for ftp_delete.
Close ftp_delete() with: “If I skip it, a ftp_delete dry-run goes wrong like this: skipping the failure case for ftp_delete.”
Board: a ftp_delete dry-run. Dry-run ftp_delete(). Name the trap: skipping the failure case for ftp_delete.