08-03-2017 05:06 AM
Hi,
I am trying to read data from a bin file kept in the server through FTP.
I am getting the data in some different format, how can i convert to original format, or how can I read in original format .reading format
original format
08-03-2017 05:31 AM
1) How is the file originally written? Do you just put the array into a "write to binary file" function?
2) How are you "reading" the file. If you are actually copying the ftp file to local PC and then opening it, you probably just need to specify the 2D string array as datatype in the read from binary file.
3) If you are using the Get Buffer VI, then consider changing your file type from binary to ascii if you want it to be easier to read. Then you can use functions like spreadsheet string to array to return it to the original. Otherwise you'll need some extra code.
08-03-2017 07:15 AM
Original file written in Binary format,
and you are right, when copy the file to local PC and read using read binary file pallet it is coming.
But i need to directly read from the server. I will try by changing the binary option.
08-03-2017 07:34 AM
I tried changing the binary option, but not working. I have to convert the data.. Is there any method to do that.