I have a website publishing application and would like to add the ability to publish to multiple hosts. Is there any problem using the same client object or will I have a memory issue?
foreach( string host in destinationHosts )
{
client = new FTPClient( host );
client.Login(username, password);
// publish files
client.Quit();
}
Thanks for looking!