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: [EMAIL PROTECTED]


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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to