Calling stat after opening a file for reading will in some server
configurations(?) lead to IOError: The message 'filename' is
prefetch now requires file_size to be passed in as a parameter
Calling stat from inside the prefetch-body has led users to
receive IOError: The message [<filename>] is not extractable.
prefetch's file_size param is not optional
Do you have more info on what "some server configurations" means exactly - i.e., is there a reproducible way we can test this out?
The change seems reasonable at a glance either way, though, so thanks!
The erroneous server configuration is something which have been pointed out in issues I think are related see, #194 #530
I also think this is due, at least in some way, to http://www-01.ibm.com/support/docview.wss?uid=swg1IT02065
Expand SFTPFile.prefetch docstring re #562, re #677