Our Products:   CompleteFTP  edtFTPnet/Free  edtFTPnet/PRO  edtFTPj/Free  edtFTPj/PRO
0 votes
2.9k views
in .NET FTP by (160 points)
Status, byte size, transfer rate, etc does not show. Progressbar is the only thing thats working. In addition if I click anywhere in the form, the app is non-responsive. Please advise.

exFTPConnection1.UserName = "username";
                exFTPConnection1.Password = "mypass";
                exFTPConnection1.ServerAddress = "255.255.255.255";
                exFTPConnection1.Connect();
exFTPConnection1.DownloadFile(myfile.ToString(), myfile.ToString());
exFTPConnection1.Close();


Thx,
B

2 Answers

0 votes
by (162k points)
While you are transferring a file it will be unresponsive as you are using a synchronous method for the transfer. Take a look at the asynchronous example in the Example Viewer to see how you can make a form responsive during a transfer. That might also be causing problems re getting updates - we'll take a look at that.
0 votes
by (160 points)
Asynchronous method works great!
Thanks!
B

Categories

...