ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 38575] New: - SCP transferring ascii files as binary to UNIX server
Date Wed, 08 Feb 2006 17:51:22 GMT
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=38575>.
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=38575

           Summary: SCP transferring ascii files as binary to UNIX server
           Product: Ant
           Version: 1.6.5
          Platform: Other
               URL: http://ant.apache.org/manual/index.html
        OS/Version: Windows XP
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Optional Tasks
        AssignedTo: dev@ant.apache.org
        ReportedBy: larry.kriv@eds.com


I am attempting to migrate my Ant scripts from using ftp for file transfer to 
scp.  I am using the jsch-0.1.24.jar, as recommended.  The transfers are going 
between a XP server to and AIX server.  

My major problem is that ascii files, such as UNIX scripts (*.sh, *.ksh), are 
not being transferred as ascii.  They end up on the target AIX server as 
binary files.  Therefore, they are unable to be executed on the AIX server. 

I have not found any documented parameter on your scp web-page that gives any 
clue as to how to control the transfer in the same way that your ftp command 
allows ("binary=yes/no").  Is it possible for scp to control ascii/binary 
transfers at all?

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


Mime
View raw message