Skip to content

Is it possible to add more than one custom action, if so what's the correct syntax for sftpgo.json? #365

Answered by drakkan
arthurschaap asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

please try something like this:

"execute_on": ["upload","pre-delete"]

then within your hook you can get the action and do different things based on it, if that's what you mean

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arthurschaap
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants