Skip to content
Tcl Source Code View Ticket
Login

View Ticket

fcopy on Windows

Closed / Out of Date1492662fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 21 years ago
Descriptionplain2006-05-21 22:48:38
Hi,

I am using ftp package from tcllib on Windows with Tcl
8.5a2 based tclkit, and it is hanging when downloading
files.
I am updating a progressbar widget using the -progress
callback to the ftp::open command.

If I execute this on Unix, it works fine. 

If I execute on Windows:

tclkit.exe myapp.tcl

 it hangs after a while (random intervals each time) in
the fcopy command and never continues (interface is
responsive, but ftp transfer does not complete)


If I execute on Windows, but with redirected stdout, it
works, and the ftp transfer always completes:
tclkit.exe myapp.tcl > out.txt


Any idea why redirected stdout may be affecting fcopy?
The funny thing is that I am not even writing anything
to stdout in my program!

Any pointers?  The closest I could find in the bug
database was:
http://sourceforge.net/tracker/?group_id=10894&atid=110894&func=detail&aid=719790

but I cam not sure is the same and I cannot apply what
he suggests in ftp.tcl fcopy, as I get infinite recursion.

Thanks for any help you can provide, this is driving me
nuts
nobodyplain2006-05-22 19:40:43
Logged In: NO 

This is fixed in 8.4.13, I am using this version now.

The case can be closed, thanks!!
dkf Closed ticket [1492662fff]. [History diff]2006-05-22 21:47:06
Log in (anonymous is fine) to add a comment.