You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Mark Struberg (JIRA)" <ji...@codehaus.org> on 2011/05/25 20:29:22 UTC

[jira] Commented: (WAGON-329) FtpWagon currently tries to invoka an invalid MKD command with nested directories

    [ http://jira.codehaus.org/browse/WAGON-329?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=268506#action_268506 ] 

Mark Struberg commented on WAGON-329:
-------------------------------------

most of the patch got committed in WAGON-331. Now working on the recursive MKD

> FtpWagon currently tries to invoka an invalid MKD command with nested directories
> ---------------------------------------------------------------------------------
>
>                 Key: WAGON-329
>                 URL: http://jira.codehaus.org/browse/WAGON-329
>             Project: Maven Wagon
>          Issue Type: Bug
>          Components: wagon-ftp
>    Affects Versions: 1.0-alpha-7
>            Reporter: Mark Struberg
>            Assignee: Mark Struberg
>         Attachments: WAGON-329.patch
>
>
> Currently a wagon request to remotely create a deep subdirectory (unix equivalent would be mkdir -p /dir1/dir2/dir3) will result in a MKD invocation with the full deep subdirectory path.
> According to the FTP specification this is *not* valid (RFC-959 http://www.faqs.org/rfcs/rfc959.html APPENDIX II -  DIRECTORY COMMANDS).
> There might be some FTP servers out there which curreclty create the directory, but 2 ftpd I tried just returned an error.
> Instead we should split up the directory paths and walk over them recursively.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira