File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
addOns/help/src/main/javahelp/contents Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -38,10 +38,9 @@ <H2><a name="filexfer">File Transfer</a></H2>
38
38
< p >
39
39
To enable file transfer you will need to have an API key set and to enable it via the
40
40
< a href ="../../ui/dialogs/options/api.html#filexferenabled "> Options API screen</ a > .
41
+ You can also enable file transfers via the command line as explained in the help for that screen.
41
42
< p >
42
- You can also enable the option via the command line using the parameter: < code > -config api.filexfer=true</ code >
43
- < p >
44
- With file transfer enabled you will be able to upload files to the
43
+ With file transfer enabled you will be able to upload text files to the
45
44
< a href ="../../ui/dialogs/options/api.html#xferdir "> Transfer Directory</ a > using the 'fileUpload' 'other' endpoint
46
45
and download them from there using the 'fileDownload' 'other' endpoint.
47
46
You can specify subdirectories (e.g. "subdir/myfile") but any attempt to upload or download a file to or from another directory
@@ -63,8 +62,7 @@ <H2><a name="filexfer">File Transfer</a></H2>
63
62
< p >
64
63
To upload a file to another API endpoint you need to do the reverse - first upload it, e.g. to "plans/myplan.yaml", and
65
64
then import it via the path "${XFER}/plans/myplan.yaml".
66
- < p >
67
- You can also set the Transfer Directory via the command line using: < code > -config api.xferdir=/full/path/to/dir</ code >
65
+
68
66
69
67
< H2 > See also</ H2 >
70
68
< table >
Original file line number Diff line number Diff line change @@ -29,12 +29,16 @@ <H3><a name="filexferenabled">File Transfer Enabled</a></H3>
29
29
If enabled then files can be transfered to and from ZAP via the API.
30
30
This option is only available if the API key is < i > not</ i > disabled.
31
31
For more details see < a href ="../../../start/features/api.html#filexfer "> File Transfer</ a > .
32
+ < p >
33
+ You can also enable this option via the command line using the parameter: < code > -config api.filexfer=true</ code >
32
34
33
35
< H3 > < a name ="xferdir "> Transfer Directory</ a > </ H3 >
34
36
35
37
The directory used to transfer files to and from ZAP via the API.
36
38
This option is only available if the API key is < i > not</ i > disabled.
37
39
For more details see < a href ="../../../start/features/api.html#filexfer "> File Transfer</ a > .
40
+ < p >
41
+ You can also set the Transfer Directory via the command line using: < code > -config api.xferdir=/full/path/to/dir</ code >
38
42
39
43
< H3 > API Key</ H3 >
40
44
You can’t perform that action at this time.
0 commit comments