I encountered an issue this morning, when I tried to work on heavy files. I'm working with PHP and treating a lot of files : first I'm reading them from a FTP, then I tread them by using PHP, and I put the treated values in new files which will be stored on the FTP server. When there are too much files, the connection to the FTP server seems to be refused : PHP returns me a connect() failure telling me that the targeted computer has expressively refused my connection.
Is it a timeout ? If so, how can I change its parameters ? Could it be something else ?
Thanks for your future answers
Server timeout ?
Moderator: Project members
Re: Server timeout ?
PHP has a terrible FTP implementation. Consider not using PHP to transfer files.
Re: Server timeout ?
I already worked a lot with this language, and it will take a long time to rewrite everthing using another language, do you have another solution ?
Thank you.
Thank you.