Oops, I had a patch file attached to the mail.
Obviously the attachment is gone. So here's the patch I suggest:
Index: core/src/main/java/org/apache/ftpserver/command/impl/listing/
LISTFileFormater.java
===================================================================
--- core/src/main/java/org/apache/ftpserver/command/impl/listing/
LISTFileFormater.java (revision 713977)
+++ core/src/main/java/org/apache/ftpserver/command/impl/listing/
LISTFileFormater.java (working copy)
@@ -95,6 +95,7 @@
permission[0] = file.isDirectory() ? 'd' : '-';
permission[1] = file.isReadable() ? 'r' : '-';
permission[2] = file.isWritable() ? 'w' : '-';
+ permission[3] = file.isDirectory() ? 'x' : '-';
return permission;
}
Regards
Johannes
Am 14.11.2008 um 12:50 schrieb Johannes Katelaan:
Hi,
I think, the LISTFileFormater should be changed to produce x-
Permission for directories. Some graphical FTP clients show strange
behavior if this is missing.
Best regards
Johannes