Have a look at the FTN95 documentation for OPEN, especially for FORM= and ACCESS=.
Unformatted binary files have a record length structure.
If you open the file as ACCESS='TRANSPARENT' or as a ACCESS='DIRECT' then you can access all bytes in the file, without FTN95 assuming a record structure.
At the most basic you can use transparent and read 1 byte at a time, to restructure the variable (such as a 4-byte integer). Integer*4 reads work well also.
I've done it in the past and had no problems reading files from unknown sources. The following is a test program related to a previous post. It may help, especially the second part which tests the record structure of the unformatted binary write.
John
program bintest
implicit none
!
integer*4 i, iostat, ic, ii(400)
character c*1
!
!test the writing of binary data to a Fortran unformatted file
!
open (10,file='ftnbintest.out',form='unformatted')
do i = 1,400
ii(i) = i
end do
!
write (10) 1
write (10) 16
write (10) 32
write (10) 10281
write (10) 305419896
write (10) (ii(i),i=1,400)
close(10)
open(10,file='ftnbintest.out',form='unformatted',access='TRANSPARENT')
!
do i = 1,99999
read (10,iostat=iostat) c
write (*,*) i,ichar(c),iostat
if (iostat/=0) exit
end do
!
end program bintest