- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: sftp ^M
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 10:44 AM
08-04-2003 10:44 AM
sftp ^M
Erich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:09 AM
08-04-2003 11:09 AM
Re: sftp ^M
I can't imagine why sftp isn't removing the extra line feed/carriage returns in each line.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:17 AM
08-04-2003 11:17 AM
Re: sftp ^M
Thats not SFTP, it might be in my case samba.conf settings.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:19 AM
08-04-2003 11:19 AM
Re: sftp ^M
in add if you have a indent structure you can remove ^M in vi with
:%s/press ^V (ctrl V) and than ^M (ctrl M)//g
bye
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-04-2003 11:41 AM
08-04-2003 11:41 AM
Re: sftp ^M
Erich
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2003 07:58 AM
08-05-2003 07:58 AM
Re: sftp ^M
1. use an editor that doesn't do this in the first place :)
2. conversion utilities like those mentioned above, either on the windows side or the HP-UX side.
3. wincvs can do the conversion automatically (and I think you can use scp as the transport).
Since you said it was for developers, it may make sense to use a source control system for this sort of thing? Depends on your environment.
4. There may be some option in sftpd to automatically pass files through a filter, such as dos2ux; I wish I could help more on that front but I don't know. Be careful about transfering binaries if you do that...you could definitely corrupt some files that way, which may be a reason why they didn't make it easy :)
Hope that helps some.
-Keith
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-06-2003 11:34 PM
08-06-2003 11:34 PM
Re: sftp ^M
You can't prevent them from appearing in the first place if you send the documents over directly. If you send documents directly, you can only rely on dos2ux etc. utilities or col -b command to get rid of the ^M characters.
However, if you zip the documents into a zip file in the first place before transmitting over scp and then unzip them at the destination, the ^M issue will not appear.
Hope this helps. Regards.
Steven Sim Kok Leong