Discuss (FTP), (FTP on .NET CF) and (FTPS, SFTP and SCP).
no avatar
User

Orinoco

Posts

46

Joined

Mon Jun 18, 2007 6:39 pm

Location

Sydney, Australia

.GetFiles within the .Downloaded event problems

by Orinoco » Fri Oct 23, 2009 10:54 am

no avatar
User

EDT Support

Posts

905

Joined

Mon Apr 26, 2004 3:03 pm

by EDT Support » Sat Oct 24, 2009 5:56 am

Try setting UseGuiThreadIfAvailable to false, which will cause all event-handlers to be called on whichever thread is invoking the methods on FTPConnection. If that doesn't work then you will need to use a delegate and the Control.BeginInvoke method.

- Hans (EnterpriseDT)
no avatar
User

Orinoco

Posts

46

Joined

Mon Jun 18, 2007 6:39 pm

Location

Sydney, Australia

by Orinoco » Mon Oct 26, 2009 6:49 am

Thanks Hans but no luck .
If I set UseGuiThreadIfAvailable to false then I have no EDT Gui and can't see whats going on with EDTFTP.

Back to delegate research then

cheers
malcom
no avatar
User

Orinoco

Posts

46

Joined

Mon Jun 18, 2007 6:39 pm

Location

Sydney, Australia

by Orinoco » Mon Oct 26, 2009 8:23 am


Who is online

Users browsing this forum: No registered users and 16 guests

Powered by phpBB ® | phpBB3 Style by KomiDesign