- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- gzip files getting corrupt from unix to windows se...
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
Discussions
Discussions
Discussions
Forums
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
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
тАО10-21-2007 07:58 PM
тАО10-21-2007 07:58 PM
When i m ftp'ing some reports from my HP UNIX server rx4640 8gb ram,11i v2 to windows server 2000 my those gzip files r getting corrupted..
So what do i do for this problem...??
The reports r going from 10Mbps link to 64kbps ...is it the network issue or something else ?????
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2007 08:11 PM
тАО10-21-2007 08:11 PM
Re: gzip files getting corrupt from unix to windows server 2000
Windows and HP-UX have a different line-ending format (Windows uses CR+LF while HP-UX uses LF only). If you use FTP's ASCII transfer mode when transferring files between Windows and HP-UX, FTP will automatically try to convert the line-ending format. If the file is not an ASCII file (for example, it's a gzipped file), the file is guaranteed to become corrupted.
Solution: if you use a command-line FTP program, use the FTP command "bin" before transferrring the file. If you use some GUI-based FTP program, find out how to set the correct transfer mode.
MK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2007 08:35 PM
тАО10-21-2007 08:35 PM
Re: gzip files getting corrupt from unix to windows server 2000
The ftp client in windows defaults to ascii.
This will trash your files.
If you use sftp, it is smart enough to tell the difference.
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
тАО10-21-2007 08:44 PM
тАО10-21-2007 08:44 PM
Re: gzip files getting corrupt from unix to windows server 2000
make sure when you ftp, transfer in binary mode.
WK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2007 09:22 PM
тАО10-21-2007 09:22 PM
Re: gzip files getting corrupt from unix to windows server 2000
I am damn sure that we r tranferring in binary mode only.......recently we have carried out a test of increasing my bandwidth from 64 kbps to 128 kbps which for that day the files did not get corrupt.........
so we r looking to test it for another 7 days and lets see........
i just wanted to make sure from my end that everythings fine as far as HPUX is concerned........and nothing else....
will keep u updated regarding this issue....
Thanx again Mr. Steve,Whiteknight,Matti
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2007 10:03 PM
тАО10-21-2007 10:03 PM
Re: gzip files getting corrupt from unix to windows server 2000
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2007 10:24 PM
тАО10-21-2007 10:24 PM
Re: gzip files getting corrupt from unix to windows server 2000
i have confirmed no error is received when i unzip the files on my hpux server......infact what i tried is one more thing.......
i ftped the same reports of gzip format to one of my local server....and also the remote server which is 300 kms away frm us.....
And nw when i opened the files in my local server they r fine.........whereas when i tried to open it from the remote server they were not properly formatted........almost gone awry---
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2007 10:54 PM
тАО10-21-2007 10:54 PM
Re: gzip files getting corrupt from unix to windows server 2000
How, exactly? Which system is the FTP
client, and which is the server? Which FTP
software is being used at each end?
> [...] those gzip files r getting corrupted..
Corrupted how? What is that actual symptom?
> So what do i do for this problem...??
Describing it clearly and in detail might be
a good first step.
As everyone else has said, ASCII-FTP is
probably the easiest way to corrupt a
non-text file.
> [...] we r tranferring in binary mode only
And you know this how? Faith? Evidence?
Have you compared the sizes of the files at
each end?
Can you look at the actual file data (easier
with a small file), to see what happened?
"od" or something similar should exist on the
HP-UX side. I don't know what exists on
Windows for this purpose, but if you have any
FTP software there (or perhaps some other
method), you could re-transfer a bad file
back to the HP-UX system for comparison.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-21-2007 11:03 PM
тАО10-21-2007 11:03 PM
SolutionBill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2007 08:08 PM
тАО10-22-2007 08:08 PM
Re: gzip files getting corrupt from unix to windows server 2000
to check if the gzip archives are really corrupted, perform a cksum prior to put on your windows server, copy back the file to th unix server and redo the cksum. if the results are different you lost data over the network.
HTH,
Art
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-22-2007 09:27 PM
тАО10-22-2007 09:27 PM
Re: gzip files getting corrupt from unix to windows server 2000
WE CAN SOLVE THIS ISSUE IF IT IS AGAIN GOING TO BE USED BACK IN THE UNIX MACHINE.(ASSUMING GZIP FILE TRANSFERRED TO WINDOWS IS FOR BACKUP PURPOSE ONLY.).
IF ABOVE IS THE CASE AFTER CREATING THE ZIP FILE. TAR THE DIRECTORY WHERE FILE IS STORED.
THIS WILL NOT CORUPT THE FILE.
REGDS
GANESH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО10-23-2007 09:41 PM
тАО10-23-2007 09:41 PM
Re: gzip files getting corrupt from unix to windows server 2000
Bill was abssolutely right..its a huge n/w issue which we have fwd to d network team and they r working on it.............
myself too verified by putting d same reports on my local server as well as over the n/w remote server......
i got the following error attached herewith.......