File tree 1 file changed +30
-0
lines changed
1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
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.
You can’t perform that action at this time.
0 commit comments