Description || View SENDFILE.CNT

Demo of the SendFile SREhttp/2 Utility

Enter one, two, or three selectors -- the files these selectors point to will be sequentially sent to your browser (with an optional pause between each file).
Selector to retrieve:
Wait 5 seconds after sending this file?
Selector to retrieve:
Wait 5 seconds after sending this file?
Selector to retrieve:
Wait 5 seconds after sending this file?

Options...
  

Description of SendFile

SendFile is an SREhttp/2 utility that can be used to send a file to a client, given that the file is associated with a URI. It's advantages over the use of standard URLS are several: Syntax:
SENDFILE is invoked with a request selector of the form:
   /SENDFILE?file=selector&force=1&header=response_header&pause=nsecs&nowait=j&log=1

SENDFILE will ...

  1. Check for the existence of a file corresponding to the selector (the file that the selector maps to is assumed to be relative to a possibly host-specific data directory or relative to a possibly host-specific virtual directory).
  2. Send the file to the client
  3. If the entire file was sent, the "count of requests" for this selector is augmented. That is, if the client killed the connection half way through, the count will not be augmented.
  4. Optionally, SENDFILE can record the particulars of this transaction (such as the client address and the current time) to the SENDFILE log file.

Notes