- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: transferring binary from windows to hpux
Operating System - HP-UX
1753625
Members
5498
Online
108797
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО01-29-2006 10:05 PM
тАО01-29-2006 10:05 PM
Re: transferring binary from windows to hpux
Also, you can use # strings file_name > new_name
-Arun
-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-30-2006 08:11 PM
тАО01-30-2006 08:11 PM
Re: transferring binary from windows to hpux
Hi SHiv,
this occurs because you transfer the ascii file with binary option in FTP and this will case the ^M you see in the file. To avoid this transfetr the ascii file in ascii mode and ftp will automatically convert to the rigth format or remove ^M at th unix side.
A lot of option to remove ^M:
dos2ux
vi -c "%s/^M//g|wq" filename (type ctlr V ctrl M to obtain ^M)
HTH,
Art
this occurs because you transfer the ascii file with binary option in FTP and this will case the ^M you see in the file. To avoid this transfetr the ascii file in ascii mode and ftp will automatically convert to the rigth format or remove ^M at th unix side.
A lot of option to remove ^M:
dos2ux
vi -c "%s/^M//g|wq" filename (type ctlr V ctrl M to obtain ^M)
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-31-2006 12:24 AM
тАО01-31-2006 12:24 AM
Re: transferring binary from windows to hpux
The term "binaries" is somewhat ambiguous. Most of the time, it refers to executable programs, but that is a special case, There are many, many other types of binary files on both Windows and Unix. For instance, the LVM status file /etc/lvmtab is a binary file because special codes are stored in the file (along with a few ASCII strings). Similarly, the ioconfig file in HP-UX is binary and none of it is readable without a special program. If you write a program to store data, you might store the data items as integers rather than ASCII strings to save disk space.
The same is true on PCs. You can safely assume that executable programs are 100% *incompatible* between machines that are running different OS's. Even among PCs, a binary exceutables are often incompatible between different versions of Windows.
As far as SSL certificates go, open one with Notepad and see if you can read it. If the text is unreadable, then it is a binary file and must be transferred in binary mode. Transferring a binary file in ASCII mode will corrupt the file.
Bill Hassell, sysadmin
The same is true on PCs. You can safely assume that executable programs are 100% *incompatible* between machines that are running different OS's. Even among PCs, a binary exceutables are often incompatible between different versions of Windows.
As far as SSL certificates go, open one with Notepad and see if you can read it. If the text is unreadable, then it is a binary file and must be transferred in binary mode. Transferring a binary file in ASCII mode will corrupt the file.
Bill Hassell, sysadmin
- « Previous
- Next »
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP