You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2008/02/22 12:41:01 UTC

DO NOT REPLY [Bug 44472] New: - If there is just a (not empty) directory SCP returns "No such File"

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=44472>.
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=44472

           Summary: If there is just a (not empty) directory SCP returns "No
                    such File"
           Product: Ant
           Version: 1.7.0
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: notifications@ant.apache.org
        ReportedBy: salvatore.brandi@mailconsultant.sep.net


When I use
<scp file="user:password@somehost:/home/chuck/**" todir="/home/sara"/>

if in chuck there are more than a directory (not empty) it works and downloads 
everything
otherwise if there is just a directory (not empty) it returns a 
com.jcraft.jsch.JSchException: 2: No such file

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