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: issue with transferring text files from windows to *INX using scp/sftp |
|---|---|
| Date: | Tue, 12 Feb 2008 15:33:29 -0200 |
What I do is %s/\r//g in vi or sed to remove the trailing CRs Cheers Christian 2008/2/12, Russell Millard Oliver <Tick@uwyo.edu>:
SFTP does not handle ascii files, you'll need to do it in your client. Depending on which client you are using, there is probably a setting to tell it to transfer ascii files and which files it should consider ascii by extension. If you aren't moving the standard .txt files, then add your extension to that list. I noticed that some clients, like Filezilla, don't convert the files like it seems like they should. WinSCP works well for that. Good luck, Russ -----Original Message----- From: Mike Li [mailto:mike__li@yahoo.com] Sent: Monday, February 11, 2008 3:13 PM To: secureshell@securityfocus.com Subject: issue with transferring text files from windows to *INX using scp/sftp HI: Each line of text files transferred from windows to *INX using scp/sftp contains Control-M characters. It is a pain to run dos2unix utils when there are a few hundred files. I did not experience issue when using ftp to transfer files from windows to *INXs systems Is there a switch or ssh_config configuration setting to suppress the Crontrol-M during transfer ? Thank you Mike ________________________________________________________________________ ____________ Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: issue with transferring text files from windows to *INX using scp/sftp, Mike Li |
|---|---|
| Next by Date: | Re: issue with transferring text files from windows to *INX using scp/sftp, Kosala Atapattu |
| Previous by Thread: | RE: issue with transferring text files from windows to *INX using scp/sftp, Russell Millard Oliver |
| Next by Thread: | Re: issue with transferring text files from windows to *INX using scp/sftp, Kosala Atapattu |
| Indexes: | [Date] [Thread] [Top] [All Lists] |