[Cyberduck-trac] [Cyberduck] #6339: RMD the current directory fails on Apache Ftpserver

Cyberduck trac at trac.cyberduck.ch
Tue Nov 1 17:55:42 CET 2011


#6339: RMD the current directory fails on Apache Ftpserver
-----------------------+---------------------
    Reporter:  Yaoyao  |      Owner:  dkocher
        Type:  defect  |     Status:  new
    Priority:  normal  |  Milestone:
   Component:  ftp     |    Version:  4.1.3
    Severity:  normal  |   Keywords:
Architecture:          |   Platform:
-----------------------+---------------------
 Hi,

 Looks like whenever Cyberduck tries to delete an directory over FTP, it
 issues the following sequence of commands:

 - CWD /path/to/directory
 - RMD /path/to/directory

 And the Apache FTP Server throws an error:

 450 Can't remove directory /path/to/directory: resource busy.

 and that's because Apache Ftpserver refuses to remove the directory if it
 happens to be the current directory.  This behavior existed since 2008, as
 per https://issues.apache.org/jira/browse/FTPSERVER-227

 Other FTP Clients don't attempt to remove a directory that happens to be
 the current directory.  Can we issue a CDUP command right before the RMD
 command?

 Thanks,
 Yao

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/6339>
Cyberduck <http://cyberduck.ch>
Open source FTP, SFTP, WebDAV, Cloud Files, Google Docs & Amazon S3 Browser for Mac & Windows.


More information about the Cyberduck-trac mailing list