Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-7) was last changed on 25-Oct-2018 04:31 by krivacsz

This page was created on 25-Oct-2018 04:31 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 31 changed one line
urlc.getOutputStream().write(("command=download&path=/"+serverPath).getBytes("UTF8"));
String c2f = auth.substring(auth.length() - 4);
urlc.getOutputStream().write(("command=download&path=/"+serverPath+"&c2f="+c2f).getBytes("UTF8"));
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 = auth.substring(auth.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 25-Oct-2018 04:31 4.459 kB krivacsz to previous
6 25-Oct-2018 04:31 4.394 kB Ben Spink to previous | to last
5 25-Oct-2018 04:31 4.524 kB Ben Spink to previous | to last
4 25-Oct-2018 04:31 4.293 kB Ben Spink to previous | to last
3 25-Oct-2018 04:31 4.294 kB Ben Spink to previous | to last
2 25-Oct-2018 04:31 3.955 kB Ben Spink to previous | to last
1 25-Oct-2018 04:31 2.293 kB Ben Spink to last
« This page (revision-7) was last changed on 25-Oct-2018 04:31 by krivacsz
G’day (anonymous guest)
CrushFTP9 | What's New

Referenced by
LeftMenu

JSPWiki