commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ima...@apache.org
Subject svn commit: r227247 - /jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/ftp/FtpFileObject.java
Date Wed, 03 Aug 2005 18:47:41 GMT
Author: imario
Date: Wed Aug  3 11:47:36 2005
New Revision: 227247

URL: http://svn.apache.org/viewcvs?rev=227247&view=rev
Log:
do not use a path (null) in ftp commands if fileObject is the root

Modified:
    jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/ftp/FtpFileObject.java

Modified: jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/ftp/FtpFileObject.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/ftp/FtpFileObject.java?rev=227247&r1=227246&r2=227247&view=diff
==============================================================================
--- jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/ftp/FtpFileObject.java
(original)
+++ jakarta/commons/proper/vfs/trunk/src/java/org/apache/commons/vfs/provider/ftp/FtpFileObject.java
Wed Aug  3 11:47:36 2005
@@ -67,7 +67,8 @@
             // do not use the "." as path against the ftp-server
             // e.g. the uu.net ftp-server do a recursive listing then
             // this.relPath = UriParser.decode(rootName.getPath());
-            this.relPath = "";
+            // this.relPath = ".";
+            this.relPath = null;
         }
         else
         {



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message