php ftp连接时间过长的问题

WBOY
Release: 2016-06-02 11:31:24
Original
1542 people have browsed it

phpftp

ftp_get($conn_id,$filepath",$name,FTP_ASCII);
founction( ) ; //这个函数执行时间比较长
ftp_delete($conn_id,$name);
为什么当function()执行时间比较长时,后面的ftp_delete就会执行不了?而且后面用ftp_get返回失败?
获得的ftp连接状态返回“0”,连接应该是正常的啊
把ftp_delete放在founction前面就可以执行删除

求大神指教

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template