Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | Re: transferring file in binary mode |
|---|---|
| Date: | Fri, 15 Dec 2006 17:51:53 +0000 |
you're prolly talkin' about windows EOL \r\n (u'll see your "junk" char as ^M) if so perl -i -pe 's/\r$//g' filename will clean it On Thu, Dec 14, 2006 at 01:10:20PM -0600, Jeremy C. Reed wrote:
X-Original-To: secure.shell@securityfocus.lists.bitrouters.com Delivered-To: secure.shell@securityfocus.lists.bitrouters.com Mailing-List: contact secureshell-help@securityfocus.com; run by ezmlm Precedence: bulk List-Post: <mailto:secureshell@securityfocus.com> List-Help: <mailto:secureshell-help@securityfocus.com> List-Unsubscribe: <mailto:secureshell-unsubscribe@securityfocus.com> List-Subscribe: <mailto:secureshell-subscribe@securityfocus.com> Resent-Sender: listbounce@securityfocus.com Errors-To: listbounce@securityfocus.com Delivered-To: mailing list secureshell@securityfocus.com Delivered-To: moderator for secureshell@securityfocus.com Date: Thu, 14 Dec 2006 13:10:20 -0600 (CST) From: "Jeremy C. Reed" <reed@reedmedia.net> To: kknegi <kishore-singh.negi@hp.com> Cc: secureshell@securityfocus.com, secureshell-return-9151@securityfocus.com Subject: Re: transferring file in binary mode In-Reply-To: <7871042.post@talk.nabble.com> Resent-Message-Id: <20061215144306.9E514237289@outgoing3.securityfocus.com> Resent-Date: Fri, 15 Dec 2006 07:43:06 -0700 (MST) Resent-From: secureshell-return-9153@securityfocus.comwe are using OPenSSH version of "3.7.1p1" for remote execution between unix and windows. here we are using SFTP for transferring files from windows to unix box. But the files which gets transferred to unix side contains junk characters as there is no provision of binary transmission in sftp.I think you have this opposite. It is always transferred in binary as there is not any "ascii" conversion (like in ftp clients).can anyone help us in this regard as how to eradicate the junk char while transmission of files.Search for dos2unix or use perl or awk or tr or sed. Google can quickly find examples: http://kb.iu.edu/data/acux.htm http://www.vasudevaservice.com/documentation/how-to/converting_dos_and_unix_text_files If that is not what you are referring to, please provide some more details or examples. (By the way, it seems like this list is way slow for me. Sometimes I don't see emails for days.)
--
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Problems using gssapi authentication from FreeBSD to Linux machines, Quincey Koziol |
|---|---|
| Next by Date: | Re: Problems using gssapi authentication from FreeBSD to Linux machines, Darren Tucker |
| Previous by Thread: | Re: transferring file in binary mode, Jeremy C. Reed |
| Next by Thread: | Re: transferring file in binary mode, Jeff Sadowski |
| Indexes: | [Date] [Thread] [Top] [All Lists] |