it looks php closes FTP connection at the end of the executed script, just like with database connection, how to create persistent connection?
Asked
Active
Viewed 1,057 times
0
-
I want to do a little client, and not to connect/disconnect everytime. To get speed and dont overload the server. Got it? :) – user893856 Oct 26 '11 at 18:34
-
2php is a poor choice of language to use to create an ftp client. – Oct 26 '11 at 18:35
-
related: http://stackoverflow.com/questions/4474577/persist-an-ftp-connection-php-resource-across-ajax-calls and http://sourceforge.net/projects/ftphp/ – Phill Pafford Oct 26 '11 at 18:45
2 Answers
1
It isn't possible now. There is already request ticket opened though, look here

genesis
- 50,477
- 20
- 96
- 125
-
wouldn't hold your breath for this to get implemented as the ticket has been open since 2001 – Phill Pafford Oct 26 '11 at 18:38
-
@Phill I know. But I had to link that, just to see that he isn't the first wanting this feature – genesis Oct 26 '11 at 18:40