Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-24) was last changed on 24-Jan-2024 08:33 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 25 changed one line
command=rename&path=/myfiles/&name1=file1.txt&name2=/anotherfolder/file3.txt
command=rename&path=/myfiles/&name1=file1.txt&name2=/anotherfolder/file3.txt&c2f=ABCD
At line 28 added one line
* As with all POST scenarios, the c2f is required if using a CrushAuth cookie token. The c2f is the last 4 characters of the CrushAuth cookie.\\
At line 36 changed one line
command=delete&names=/anotherfolder/file3.txt
command=delete&names=/anotherfolder/file3.txt&c2f=ABCD
At line 39 added 15 lines
* As with all POST scenarios, the c2f is required if using a CrushAuth cookie token. The c2f is the last 4 characters of the CrushAuth cookie.\\
\\
\\
Multipart from uploading is also possible, but far more complex of a topic. You should already be familiar with how multipart works. The parameters for uploading are:\\
{{{
command=STOR
alt_name=file4.txt
uploadPath=/anotherfolder/
start_resume_loc=0. ***OPTIONAL
Last-Modified=milliseocndtimestamp ***OPTIONAL
c2f=ABCD
filenameobjectdata
}}}
\\
* As with all POST scenarios, the c2f is required if using a CrushAuth cookie token. The c2f is the last 4 characters of the CrushAuth cookie.\\
Version Date Modified Size Author Changes ... Change note
24 24-Jan-2024 08:33 9.818 kB Ben Spink to previous
23 24-Jan-2024 08:25 9.668 kB Ben Spink to previous | to last
22 24-Jan-2024 08:19 9.579 kB Ben Spink to previous | to last
21 24-Jan-2024 08:19 9.577 kB Ben Spink to previous | to last
« This page (revision-24) was last changed on 24-Jan-2024 08:33 by Ben Spink
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
API

JSPWiki