Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-7) was last changed on 05-Dec-2023 05:32 by krivacsz

This page was created on 05-Dec-2023 05:32 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 83 changed 4 lines
if (command.equalsIgnoreCase("delete")) urlc.getOutputStream().write(("command=delete&names="+param1).getBytes("UTF8"));
else if (command.equalsIgnoreCase("rename")) urlc.getOutputStream().write(("command=rename&name1="+param1+"&name2="+param2).getBytes("UTF8"));
else if (command.equalsIgnoreCase("makedir")) urlc.getOutputStream().write(("command=makedir&path="+param1).getBytes("UTF8"));
else if (command.equalsIgnoreCase("getXMLListing")) urlc.getOutputStream().write(("command=getXMLListing&path="+param1).getBytes("UTF8"));
String c2f = "";
if (!config.getProperty("crushAuth", "").equals("")) c2f = config.getProperty("crushAuth", "").substring(config.getProperty("crushAuth", "").length() - 4);
if (command.equalsIgnoreCase("delete")) urlc.getOutputStream().write(("command=delete&names="+param1+"&c2f="+c2f).getBytes("UTF8"));
else if (command.equalsIgnoreCase("rename")) urlc.getOutputStream().write(("command=rename&name1="+param1+"&name2="+param2+"&c2f="+c2f).getBytes("UTF8"));
else if (command.equalsIgnoreCase("makedir")) urlc.getOutputStream().write(("command=makedir&path="+param1+"&c2f="+c2f).getBytes("UTF8"));
else if (command.equalsIgnoreCase("getXMLListing")) urlc.getOutputStream().write(("command=getXMLListing&path="+param1+"&c2f="+c2f).getBytes("UTF8"));
Version Date Modified Size Author Changes ... Change note
7 05-Dec-2023 05:32 4.459 kB krivacsz to previous
6 05-Dec-2023 05:32 4.394 kB Ben Spink to previous | to last
5 05-Dec-2023 05:32 4.524 kB Ben Spink to previous | to last
4 05-Dec-2023 05:32 4.293 kB Ben Spink to previous | to last
3 05-Dec-2023 05:32 4.294 kB Ben Spink to previous | to last
2 05-Dec-2023 05:32 3.955 kB Ben Spink to previous | to last
1 05-Dec-2023 05:32 2.293 kB Ben Spink to last
« This page (revision-7) was last changed on 05-Dec-2023 05:32 by krivacsz
G’day (anonymous guest)
CrushFTP11 | What's New

Referenced by
LeftMenu

JSPWiki