I have a stor() that starts in a subroutine, and subsequently launch a seperate thread using the "threads" module to handle the upload to avoid locking my Tk application and allow for an abor() command to be sent. my problem with this is because of that, I can't send the close() command for the transfer (dong so locks up the application when the thread finishes uploading data). I thought calling the close in the thread would work, but it threw up an error because sharing globs isn't supported.
anyway, my question: is it is safe to not call close()?
I haven't noticed any problems after transfer (files retain exact size, files execute properly), aside that I obviosly don't get a proper "226 Transfer complete." response. I could always fake the response in my log window I suppose.
Philip
------------------
Limecat is not pleased.
anyway, my question: is it is safe to not call close()?
I haven't noticed any problems after transfer (files retain exact size, files execute properly), aside that I obviosly don't get a proper "226 Transfer complete." response. I could always fake the response in my log window I suppose.
Philip
------------------
Limecat is not pleased.