Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-7) was last changed on 13-Apr-2017 10:13 by krivacsz

This page was created on 09-Oct-2016 18:14 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 13-Apr-2017 10:13 4.459 kB krivacsz to previous
6 09-Oct-2016 18:14 4.394 kB Ben Spink to previous | to last
5 09-Oct-2016 18:14 4.524 kB Ben Spink to previous | to last
4 09-Oct-2016 18:14 4.293 kB Ben Spink to previous | to last
3 09-Oct-2016 18:14 4.294 kB Ben Spink to previous | to last
2 09-Oct-2016 18:14 3.955 kB Ben Spink to previous | to last
1 09-Oct-2016 18:14 2.293 kB Ben Spink to last
« This page (revision-7) was last changed on 13-Apr-2017 10:13 by krivacsz
G’day (anonymous guest)

OLD WIKI!!!#

New: CrushFTPv9#

OLD WIKI!!!#


CrushFTP8 | What's New

Referenced by
LeftMenu

JSPWiki