transferring binary files between systems
- by tim
Hi guys
I'm trying to transfer my files between 2 UNIX clusters, the data is pure numeric (vectors of double) in binary form. Unfortunately one of the systems is IBM ppc997 and the other is AMD Opteron, It seems the format of binary numbers in these systems are different.
I have tried 3 ways till now:
1- Changed my files to ASCII format (i.e. saved a number at each line in a text file), sent them to the destination and changed them again to binary on the target system (they both are UNIX, no end of line character difference??!)
2- Sent pure binaries to the destination
3- used uuencode sent them to the destination and decoded them
Unfortunately any of these methods does not work (my code in the destination system generates garbage, while it works on the first system, I'm 100% sure the code itself is portable). I don't know what else I can do? Do you have any idea? I'm not a professional, please don't use computer scientists terminology!
And: my codes are in C, so by binary I mean a one to one mapping between memory and hard disk.
Thanks