transfer filePro file from dos to unix

Kenneth Brody kenbrody at bestweb.net
Thu Oct 23 07:08:23 PDT 2008


(Top-posting corrected.)

Quoting Dennis Malen (Thu, 23 Oct 2008 10:01:34 -0400):

[...]
>>> Is there a simple way to transfer a small filePro file from an Intel
>>> System using Vista to a Unix System IBM Power 5 Server?
[...]
>> Well it really depends upon what you are moving.
>> If its just a small file just make sure its created natively on both
>> systems.
>> If you save your processing tables as ascii (ABE=ASCII), just ftp it over
>> Recompile if you need a tok and you are on your way.
[...]
> That's a great idea. Can I use the same approach for a screen and a report
> format?

If the Unix box is little-endian, you can:

     Binary ftp the file from Windows to Unix.
     Rename the file from *.out to out.*
     Chown/chmod the file.
     Bring up the format in dscreen/dmoedef, dismissing the checkum warning
         popup.
     Update the screen/output format and re-save it.

     Repeat for each screen/output format you copy over.

If the Unix box is big-endian, then you can't do the above.

Or, you can use xfer, which does all the work for you, including the byte
swapping if the Unix box is big-endian.

-- 
KenBrody at BestWeb dot net        spamtrap: <g8ymh8uf001 at sneakemail.com>
http://www.hvcomputer.com
http://www.fileProPlus.com


More information about the Filepro-list mailing list