Re: dont download file with progresbar
What "install error"? What exact error are you getting? Post full exception stacktrace.
Before posting, please read how to report bug or request support effectively.
Bug reports without an attached log file are usually useless.
void SessionFileTransferProgress(Object sender , FileTransferProgressEventArgs e)
{
MessageBox.Show(e.FileName);
}
using (Session session = new Session())
{
// Will continuously report progress of transfer
// session.FileTransferProgress += SessionFileTransferProgress;
// Connect
session.Open(sessionOptions);
try
{
// Download files and throw on any error
session.GetFiles(url, path);
}
finally
{
// Terminate line after the last file (if any)
MessageBox.Show("Download stop");
}
}