Remember that just because you get a non-Nil FolderItem that can represent a file, that does not ensure that such a file actually exists! So, before you try to open and read from the file, check that it exists.
That is very true but a non-nil folderitem can pass the existence test and still raise a nil object on textinputstream.
Charles Yeomans has an interesting discussion and code on reading a text file here:
http://www.declaresub.com/Articles/ReadTextFile.html Best regards, Jack _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
