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: [email protected] ReportedBy: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]/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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
