Topic "Form Freeze during process"

Author Message
CoolJack
[View user's profile]

Joined: 2013-12-15
Posts: 1
Location: GERMANY
Hello!

I use your DLL for my VB2012 project. But if I download or upload a file with "put" or "get" than my form freez while processing. Have anywhere a solution for my problem?

My 2. problem: I would show the current process (eg. upload) with a progressbar. I can't find a solution for it. Sad

THANKS for help!!

Chris
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24553
Location: Prague, Czechia
CoolJack wrote:
I use your DLL for my VB2012 project. But if I download or upload a file with "put" or "get" than my form freez while processing. Have anywhere a solution for my problem?

Well, you need to start the transfer in an background thread.

Quote:
My 2. problem: I would show the current process (eg. upload) with a progressbar. I can't find a solution for it. Sad

Make use of Session.FileTransferProgress event:
http://winscp.net/eng/docs/library_session_filetransferprogress
_________________
Martin Prikryl
Advertisements

You can post new topics in this forum






Search Site

What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License