Ftp_get ($ conn_id, $ filepath & quot;, $ name, FTP_ASCII); founction (); this function takes a long time to execute ftp_delete ($ conn_id, $ name ); why can't ftp_delete be executed after function () is executed for a long time? And ftp_get is used later to return failure? The obtained ftp connection status returns "0". the connection should be normal. put ftp_delete in front of the founction and you can delete it. please advise phpftp
Ftp_get ($ conn_id, $ filepath ", $ name, FTP_ASCII );
Founction (); // This function takes a long time to execute
Ftp_delete ($ conn_id, $ name );
Why can't ftp_delete be executed after function () is executed for a long time? And ftp_get is used later to return failure?
The obtained ftp connection status returns "0". the connection should be normal.
Put ftp_delete before founction and delete it.
Please advise