On Thu, Mar 08, 2001 at 10:14:35PM -0500, Blue Lang wrote:
> On Thu, 8 Mar 2001, Robert Forkner wrote:
> 
> > I am needing to know if sftp will allow for ASCII file transfers?  It seems
> > to be defaulting to binary, and I need it to be ASCII for some scripts that
> > need uploading.  More specifically, I have some users that are using the GUI
> > sftp, and their scripts are not working because window appends the '^M"
> > escape character on line returns.  This is nothing new to ftp, but if I
> > could control how it's being uploaded (e.g., ASCII instead of BINARY), then
> > my problem should be solved.
> 
> this needs to be a FAQ. :) everything in sftp is binary, and it doesn't,
> right now, do cr->lf translation.

Yes? *blinks* Oh yeah, you're talking to me :) I'll make sure it's in the FAQ.
 
> there are some hacks around for it, but i would just run it thru sed.

Someone else suggested Perl.

-Anne
------------------------------------------------------------------------
Anne Carasik                       | A day without fusion is like a day
Principal Security Consultant      | without sunshine.
SSH Communications Security, Inc.  |
Email: [EMAIL PROTECTED]                | -Unknown
------------------------------------------------------------------------
Unless stated otherwise above, the opinions expressed herein are my own, 
                            not of my employer.

PGP signature

Reply via email to