2021.1

Sending the document
If the requested document is more than zero kilobytes in size, then we know it does exist. In the
third part of our process, the document is actually sent to the requesting client. The document is
first loaded, renamed to the original name included in the request (the full path is reduced to the
file name), and sent to the client. Finally, the document is deleted from the server.
Downloaded PDF documents can then be opened for viewing, and HTML documents can be
used to collect information that can then be sent back for processing.
Page 26