[PyQt] QFtp putting multiple files

Tony Arnold tony.arnold at manchester.ac.uk
Mon Jan 20 10:25:56 GMT 2014


Hans-Peter,

On 20/01/14 09:53, Hans-Peter Jansen wrote:

>> The problem is that there is a race condition between these two. If
>> progress hits 100% before the signal for the put command termination
>> signal, then the next file gets processed, the progress box gets
>> displayed again, but then the put terminal signal gets in and hides the box.
> 
> Have you tried to separate the two conditions? I wouldn't count on progress to 
> exit this part. Your next paragraph seems to underline this. Progress might be 
> affected by block sizes and rounding, hence always wait for the put command 
> complete signal. 
> 
> Let us know about the outcome.

Thanks. That's great advice. I've set 'autoClose' to False on the
progress dialogue and that's fixed the problem.

Regards,
Tony.
-- 
Tony Arnold,                        Tel: +44 (0) 161 275 6093
Head of IT Security,                Fax: +44 (0) 705 344 3082
University of Manchester,           Mob: +44 (0) 773 330 0039
Manchester M13 9PL.                 Email: tony.arnold at manchester.ac.uk


More information about the PyQt mailing list