You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2005/03/05 06:52:32 UTC

DO NOT REPLY [Bug 33859] New: - SCP remoteTofile attribute not fully implemented

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

           Summary: SCP remoteTofile attribute not fully implemented
           Product: Ant
           Version: 1.6.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: andy@epana.com


Using the remoteTofile attribute always generates a "Not a directory" error 
from the server.

A quick glance at the code for 1.6.2 (and true up to the 3/04/05 nightly 
build) shows that this behavior is to be expected: the setRemoteTofile method 
is identical to setRemoteTodir method.

To fix, the upload method would have to pass in some information to the 
ScpToMessage object that later gets passed on to the scp command string 
(during the ScpToMessage object execution).  And, of course, there must be 
support for specifying a file instead of a directory at the lower level.

-- 
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: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org