All,
THis was rather comical. I have a kate session with 100 TDE PKGBUILD scripts as the files within the session. I decided to open a copy from the box at work via sftp and my desktop went nuts. (Connection Closed dialogs _everywhere_)
See:
http://www.3111skyline.com/dl/dt/trinity/ss/kwrite-100-remote-files.jpg
After clicking cancel on all the connection closed dialogs -- all I had to do was select the untitled file and press F5 to refresh the file in the kate session. I think we should put a bit of delay into the fopen calls to insure they are not stepping all over themselves. Anybody else have any ideas to fix this?