Re: Multiple File Upload (General questions)
I looked at the source. Didn't try it yet but I think I see the problem. You are using Blocking *AND* events. You shouldn't be doing that. Let me explain.
Each command you call blocks. 'Connect' blocks. 'PutFile' blocks.
So, you call
1. Connect (your thread blocks),
2. we do something under the hood,
3. we fire 'Connected' event,
4. we unblock so you can proceeed.
now, imagine you call 'PutFile' between 3 and 4 - so you cause second blocking to occur - and app freezes.
In order to avoid this problem you should NOT execute blocking methods from within event code. So, you can
a) set Blocking = False and change your code a bit so it works in async manner (we call you when something is done)
b) move code from 'Connected' event to just after calling 'Connect' method.
Can you try that?
Complete thread:
- Multiple File Upload - michael090, 2004-11-12, 08:10
- Re: Multiple File Upload - wodSupport, 2004-11-12, 13:13
- Re: Multiple File Upload - michael090, 2004-11-16, 01:53
- Re: Multiple File Upload - wodSupport, 2004-11-16, 01:55
- Re: Multiple File Upload - michael090, 2004-11-16, 01:59
- Re: Multiple File Upload - michael090, 2004-11-16, 02:26
- Re: Multiple File Upload - wodSupport, 2004-11-16, 04:06
- Re: Multiple File Upload - michael090, 2004-11-16, 06:06
- Re: Multiple File Upload - wodSupport, 2004-11-16, 04:06
- Re: Multiple File Upload - michael090, 2004-11-16, 02:26
- Re: Multiple File Upload - michael090, 2004-11-16, 01:59
- Re: Multiple File Upload - wodSupport, 2004-11-16, 01:55
- Re: Multiple File Upload - michael090, 2004-11-16, 01:53
- Re: Multiple File Upload - wodSupport, 2004-11-12, 13:13