I have 3-4 pages of my website that uses ftp_connect(), currently I connect on every single pageload and it takes time to load the pages.
Is it possible to do a single ftp_connect and use that on all pages? Like store it in a session or something?
Don't know if it's ftp_connets()'s fault that it sometimes take 5-10 seconds to load a page.