- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- File transfer from windows to hpux adding ^M at th...
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
05-10-2006 11:12 PM
05-10-2006 11:12 PM
I am trying to transfer a directory from my PC to my hpux server, but all the scripts in there have the ^M at the end of each line. There are a lot of scripts/control files and I do not want to edit each one and remove them. Is there a special way to ftp them without the new lines showing as ^M, or is there something else I can do?
The server is an rp3440 with hp-ux 11.11.
Many Thanks.
JASH
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 11:13 PM
05-10-2006 11:13 PM
Re: File transfer from windows to hpux adding ^M at the end of all lines in all scripts from a directory
Using ftp? Then make sure you have set the transfer mode to binary.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 11:15 PM
05-10-2006 11:15 PM
Re: File transfer from windows to hpux adding ^M at the end of all lines in all scripts from a directory
Cheers.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 11:20 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 11:39 PM
05-10-2006 11:39 PM
Re: File transfer from windows to hpux adding ^M at the end of all lines in all scripts from a directory
When you use ascii format while copying from dos to unix, the ^M [ which is the character for line-feed ] is correctly interpreted as line-feed and not as charater ^M. whereas if you sue binary its treated as a charater ^M.
So please set mode as ascii.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2006 11:53 PM
05-10-2006 11:53 PM
Re: File transfer from windows to hpux adding ^M at the end of all lines in all scripts from a directory
ASCII format will convert CarriageReturn and LineFeed/NewLine characters from UNIX to DOS modes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 12:10 AM
05-11-2006 12:10 AM
Re: File transfer from windows to hpux adding ^M at the end of all lines in all scripts from a directory
Thanks to you all.
JASH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 12:11 AM
05-11-2006 12:11 AM
Re: File transfer from windows to hpux adding ^M at the end of all lines in all scripts from a directory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-11-2006 12:14 AM
05-11-2006 12:14 AM
Re: File transfer from windows to hpux adding ^M at the end of all lines in all scripts from a directory
Apologies