I have a function that exports files to a remote server, I call this static method on a click event from the main form.
private void btnExport_Click(object sender, EventArgs e)
{
Helper.exportFiles(loggedUser, loggedPass, sourceFolder, destinationRep);
}
I am asked to add a progress bar since it could take a very long time, most examples that I saw here involve the method having some kind of loop. Is it even feasible in my case? since I am calling the method only once.