Apache Commons NET: Should I create a new FTPClient object on each connection or reuse one?

Viewed 4019

I'm just wondering: in my Java application, each time I need to connect to an FTP server, should I create a new FTPClient object, or should I create one FTPClient() object and re-use that each time I connect to an FTP server?

3 Answers
Related