[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Temporary files - Debug Files



The example of the problem i have:

   For some strange reason the file file1 (Temporal file with ANSWER from
   previous post)
   has data on it but the read show a Handle field = 0 when some users do
   the post.
   I don't have a clue how to solve this issue.

      Handle  = open(%trimr(file1):O_RDONLY + O_TEXTDATA);

      if Handle > 0;

         CharsRead = Read(handle:

         %Addr(xml_dat):59941);

         xmldat = %trim(xml_dat);

         DataLen=read(Handle:

         %addr(Buffer):

         %size(Buffer));

         exsr armaparseo;

      endif;

   Thanks again!
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------