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

RE: Internal Server Error 500



> The file is 950 MB.

Hmmm. That is a big debug file. This sounds like you are either sending a huge request or getting a ton of data back.

The debug file by default is recreated each time the program is opened. Are you making multiple requests within the program? That would explain all the data.

If you need to modularize the debug, you can call the close debug routine yourself. In particular, if you are running the requests in a loop and only need to capture the ones that fail, it would look something like this.

DOU 1=0;

  tmpFile = http_tempfile() + '.txt';
  http_debug(*ON: tmpFile);
    (get data for next request - LEAVE if no more requests) 
  rc = http get/post

  http_debug(*off: tmpFile);

  If rc = 1; // normal completion, delete debug
    unlink(tmpFile);
    (other processing to parse or update the data)
  else;  // alert someone
    dsply ('Look at ' + tmpFile);
  endif;

enddo;

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