[ http://jira.codehaus.org/browse/WAGONSSH-43?page=comments#action_63096 ]
Brian Raymond commented on WAGONSSH-43: --------------------------------------- SFTP allows you to manipulate the file system from within the application, I'm a coworker of the original submitter who tried the same on the box. Using an SFTP command line client I can create,remove directories and files however MVN attempts to open an SSH shell and run mkdir instead of using SFTP to do it. > SFTP as used by site-deploy, causes mkdir command to be executed > ---------------------------------------------------------------- > > Key: WAGONSSH-43 > URL: http://jira.codehaus.org/browse/WAGONSSH-43 > Project: wagon-ssh > Type: Improvement > Versions: 1.0-alpha-6 > Reporter: Stephen Duncan Jr > Priority: Critical > > > I'm trying to run mvn site-deploy with an sftp:// url. The remote system > provided a limited shell for my user account that allows cvs & sftp. This > works for mvn deploy to deploy jars, etc., even when it needs to create a > directory to copy the file up. The site plugin, however, must call a > different wagon method that causes the following command to be executed: > Executing command: mkdir -p > /var/www/sites/cdcie-parent-core/cdcie-parent-webapp/cdcie-webapp-troubletickets/. > To be able to deploy my site, I need an sftp:// url to strictly use only sftp > as is done by mvn deploy. -- 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