-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |