Add new attachment

Only authorized users are allowed to upload new attachments.

List of attachments

Kind Attachment Name Size Version Date Modified Author Change note
xml
permissions.xml 0.2 kB 1 29-Dec-2020 05:25 Ben Spink
xml
user.xml 0.2 kB 1 29-Dec-2020 05:25 Ben Spink
xml
vfs_items.xml 0.3 kB 1 29-Dec-2020 05:25 Ben Spink

This page (revision-36) was last changed on 01-Feb-2023 05:12 by Ben Spink

This page was created on 29-Dec-2020 05:25 by Ben Spink

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed one line
If you are reading this, you are likely wanting a well documented published API to reference. You won't find that here. Its my opinion that the admin WebInterface provides a working example that is easily watched to see the commands its issuing for the documentation. If you want to know how to make a user using a web call, enable the network monitoring in Chrome/Safari/FireBug and make a user. Then its all detailed out.
If you are reading this, you are likely wanting a well documented published API to reference. You won't find that here. Its our opinion that the admin WebInterface provides a working example that is easily watched to see the commands its issuing for the documentation. If you want to know how to make a user using a web call, enable the network monitoring in Chrome/Safari/FireFox/Edge and make a user. Then its all detailed out in the network requests created.
At line 3 changed one line
I will provide one example here to get you started though, and I may add to this by user request if things are not clear enough.
Here are a few examples here to get you started though, and we may add to this list in the future too.
At line 28 changed one line
The attachments contain the sample files.
The attachments contain the sample files.\\
\\
!!Update/add to VFS of a user\\
This will update the VFS, either replacing an existing item, or adding a new item if it doesn't exist:\\
{{{
curl -d command=setUserItem -d data_action=update_vfs -d xmlItem=user -d serverGroup=MainUsers -d username=user1 -d vfs_items@vfs_items.XML -d permissions@permissions.XML -u crushadmin:passw http://127.0.0.1:8080/
}}}
\\
!!Delete VFS item from a user\\
This will remove a VFS item (so don't pass in a full permissions or vfs_items object or you would remove everything):\\
{{{
curl -d command=setUserItem -d data_action=update_vfs_remove -d xmlItem=user -d serverGroup=MainUsers -d username= user1 -d vfs_items@vfs_items.XML -d permissions@VFS.XML -u crushadmin:pass http://127.0.0.1:8080/
}}}
Version Date Modified Size Author Changes ... Change note
36 01-Feb-2023 05:12 8.276 kB Ben Spink to previous
35 12-Apr-2022 04:18 8.081 kB krivacsz to previous | to last
34 06-Apr-2022 11:38 7.929 kB Ben Spink to previous | to last
33 23-Mar-2021 03:50 7.838 kB Ben Spink to previous | to last
32 23-Mar-2021 03:50 7.837 kB Ben Spink to previous | to last
31 29-Dec-2020 05:25 7.429 kB Ada Csaba to previous | to last
30 29-Dec-2020 05:25 7.288 kB Ben Spink to previous | to last
29 29-Dec-2020 05:25 7.254 kB Ada Csaba to previous | to last
28 29-Dec-2020 05:25 6.999 kB Ada Csaba to previous | to last
27 29-Dec-2020 05:25 6.765 kB Ada Csaba to previous | to last
26 29-Dec-2020 05:25 6.759 kB Ada Csaba to previous | to last
25 29-Dec-2020 05:25 6.485 kB Halmágyi Árpád to previous | to last
24 29-Dec-2020 05:25 6.48 kB Halmágyi Árpád to previous | to last
23 29-Dec-2020 05:25 5.956 kB Ben Spink to previous | to last
22 29-Dec-2020 05:25 5.948 kB Ben Spink to previous | to last
21 29-Dec-2020 05:25 5.801 kB Ada Csaba to previous | to last
« This page (revision-36) was last changed on 01-Feb-2023 05:12 by Ben Spink
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki