Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-7) was last changed on 29-Dec-2020 05:25 by krivacsz

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 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 29-Dec-2020 05:25 4.459 kB krivacsz to previous
6 29-Dec-2020 05:25 4.394 kB Ben Spink to previous | to last
5 29-Dec-2020 05:25 4.524 kB Ben Spink to previous | to last
4 29-Dec-2020 05:25 4.293 kB Ben Spink to previous | to last
3 29-Dec-2020 05:25 4.294 kB Ben Spink to previous | to last
2 29-Dec-2020 05:25 3.955 kB Ben Spink to previous | to last
1 29-Dec-2020 05:25 2.293 kB Ben Spink to last
« This page (revision-7) was last changed on 29-Dec-2020 05:25 by krivacsz
G’day (anonymous guest)
CrushFTP10 | What's New

Referenced by
LeftMenu

JSPWiki