Skip to content

Commit 434ded8

Browse files
committed
- added missing FileHandler docs
1 parent 4b1e3c1 commit 434ded8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

doc/input/filehandler.rst

+30
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
.. _filehandler:
2+
3+
FileHandler
4+
===========
5+
6+
Uploading files via HTTP requests can be configured by setting up the
7+
``FileHandler`` within the input handler configuration.
8+
9+
.. code-block:: ini
10+
11+
[your-config]
12+
endpoint = /upload
13+
maxsize = 5000
14+
type = FileHandler
15+
folder.out = /app/data
16+
file.prefix = out-
17+
file.suffix = .csv
18+
19+
folder.out
20+
The directory to use for storing the file.
21+
22+
file.prefix
23+
File names are created randomly by the ``FileHandler``. To allow other
24+
software to automatically recognize files provided by this specific
25+
instance, a fixed prefix can be added to the random part.
26+
27+
file.suffix
28+
File names are created randomly by the ``FileHandler``. To allow other
29+
software to automatically recognize files provided by this specific
30+
instance, a fixed suffix can be added to the random part.

0 commit comments

Comments
 (0)