avoid reconnect

Recommend this page to a friend!

      Advanced FTP client class  >  All threads  >  avoid reconnect  >  (Un) Subscribe thread alerts  
Subject:avoid reconnect
Summary:I've to avoid reconnect to the ftp server
Date:2007-10-15 19:04:24
Update:2007-10-16 07:48:54


  1. avoid reconnect   Reply   Report abuse  
Picture of fede fede - 2007-10-15 19:04:24
my question is really simple and maybe stupid.... but i can't see how to make this thing.

Simply i connect to a ftp server and after i want to navigate into directories of the ftp server. I want to know if I cant make something to avoid to reconnect every page load (every time i change dir)

thank you very much

  2. Re: avoid reconnect   Reply   Report abuse  
Picture of Alexey Dotsenko Alexey Dotsenko - 2007-10-16 07:48:54 - In reply to message 1 from fede
I don't create this ability in my class. Of course you can store socket somewhere ( fo example session ) and than restore it...but may be it is better to collect list of files to process and than start this class and than process all of than as required?


For more information send a message to info at phpclasses dot org.