[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Ftpapi] FTP API not closing socket after sending data?



FTP API beta version 3.0

I started using FTP API for a client and so far it works great except for one thing... after a STOR it seems to leave the data socket open.  

Because we're sending a lot of files this eventually ends up with the system not being able to create more sockets (too many open) and the following FTP commands aren't run until the sockets eventually timeout.

In debugging I see that the call to FTP_putraw() opens wwSock but it's only closed if there is an error.

I could be missing something here. :)   

Bradley V. Stone
Native IBM i e-Mail solutions for Microsoft Office 365, Gmail, or any Cloud Provider! 
-- 
_______________________________________________
Ftpapi mailing list
Ftpapi@xxxxxxxxxxxxxxxxxxxxxx
http://scottklement.com/mailman/listinfo/ftpapi