I think you may find that because the farsfireHose generates a record set (albeit with a single record) you still need to go through the standard process of reading through the file
If not rs.eof or rs.bof
do while not rs.eof
lastfilename = xxxxx
It seems a bit strange that the RES.pstrloc works as per the script defined earlier, but if you use strloc then you need the added processing to read the record set created. (I tried both options and got both to work). Is there any obvious reason that i am missing / overlooking as to why there is a difference, as these sort of tips and examples are always useful?