Skip to content

Commit

Permalink
- added missing FileHandler docs
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusva committed Dec 22, 2018
1 parent 4b1e3c1 commit 434ded8
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions doc/input/filehandler.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
.. _filehandler:

FileHandler
===========

Uploading files via HTTP requests can be configured by setting up the
``FileHandler`` within the input handler configuration.

.. code-block:: ini
[your-config]
endpoint = /upload
maxsize = 5000
type = FileHandler
folder.out = /app/data
file.prefix = out-
file.suffix = .csv
folder.out
The directory to use for storing the file.

file.prefix
File names are created randomly by the ``FileHandler``. To allow other
software to automatically recognize files provided by this specific
instance, a fixed prefix can be added to the random part.

file.suffix
File names are created randomly by the ``FileHandler``. To allow other
software to automatically recognize files provided by this specific
instance, a fixed suffix can be added to the random part.

0 comments on commit 434ded8

Please sign in to comment.