Changeset 2036
- Timestamp:
- 02/23/2010 04:30:21 AM (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/plugins/org.drftpd.commands.pre/src/org/drftpd/commands/pre/Pre.java
r2034 r2036 72 72 73 73 if (section.getName().equals("")) { 74 return new CommandResponse( 200, "Invalid section, see SITE SECTIONS for a list of available sections");74 return new CommandResponse(500, "Invalid section, see SITE SECTIONS for a list of available sections"); 75 75 } 76 76 … … 103 103 104 104 DirectoryHandle toInode = new DirectoryHandle(section.getCurrentDirectory().getPath() + VirtualFileSystem.separator + preDir.getName()); 105 105 106 if (toInode.exists()) { 107 return new CommandResponse(500, "Directory already exist in target section"); 108 } 109 106 110 CommandResponse response = new CommandResponse(250, request.getCommand().toUpperCase() + " command successful."); 107 111
