The return value of ftp_nb_continue can be either FTP_FINISHED or FTP_FAILED, indicating whether the transfer is complete. If FTP_FAILED is returned, the transfer has failed. If FTP_FINISHED is returned, the transfer has completed successfully. However, in some cases, you may encounter abnormal return values.
shell_exec