I want to automate shutdown after files downloading. Help me to do it. (Selecting folder, in which I download files, and periodically check each file for FileOpenError, - it's not very optimal variant..) EDIT:All what i need in this case - it's to obtain info about received data.