Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

FTP Idle Connections

$
0
0
Got a major dilemna, and after talking to my web hoster, they finally pinpointed the error -- my FTP connections aren't closing.

I have $i_passive set to 1 (so it closes the connection afterward), but it still isn't. My web hosting only allows 25 open processes at a time, and I am running three AutoIt scripts on three separate machines (all Windows VPS). When I was running just two, it was fine, but when I added the third it seems to have breached that 25 limit.

What the support told me was that when I was running two scripts, the processes eventually died out in time - therefore never reaching 25. Well, now with 3, they aren't dieing fast enough and is causing my server to crash.



So my question is -- why aren't my FTP connections closing after I use _FTP_FilePut and what can I do so it closes the connections immediately?

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>