To me it sounds like there could be a way to "reuse" sockets since the transfers do not happen in parallell but sequentially.
Each FTP transfer (including transfers of directory listings) uses a new connection. Net::FTP cannot act differently.
That said, it shouldn't have more than two sockets open at a time. If it has 1,500 open sockets, something isn't right. Or do you mean sockets in the TIME_WAIT state?
In reply to Re: limiting the amount of sockets opened by f
by ikegami
in thread limiting the amount of sockets opened by f
by Faile
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |