commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38313] New: - VFS tries to "cwd /" on a hostname.com/path ftp url instead of "cwd path"
Date Wed, 18 Jan 2006 22:14:37 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=38313>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=38313

           Summary: VFS tries to "cwd /" on a hostname.com/path ftp url
                    instead of "cwd path"
           Product: Commons
           Version: unspecified
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P2
         Component: VFS
        AssignedTo: commons-dev@jakarta.apache.org
        ReportedBy: jdahlgren@textwise.com


VFS version: commons-vfs-1.0-RC6.jar
Running on:  fedora core 3
JDK: 1.5

Stack Trace:

Caused by: org.apache.commons.vfs.FileSystemException: Could not change to work
directory "/".
        at
org.apache.commons.vfs.provider.ftp.FtpClientFactory.createConnection(FtpClientFactory.java:103)
        ... 15 more

Example ftp url:
ftp://myname:mypassword@host.com/abc/def

This means after connecting to host.com the client should run "cwd abc" then run
"cwd def" (according to the ftp url specs).

What appears to be happening is that the VFS code is connecting to host.com and
then running "cwd /" before running "cwd abc".

The problem is that some FTP servers block "cwd /", and so VFS would fail
because it always first tries to "cwd /".

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
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