I have a 1GB binary file on another system.
Requirement: ftp/download and convert binary to CSV on main system.
The converted file will be magnitudes larger ~ 8GB
What is the most common way of doing something similar to this?
Should this be a two step independent process, download – then convert?
Should I download small chunks at a time and convert while downloading?
I don’t know the most efficient way to do this…also what should I be cautions of with files this size?
Any advice is appreciated.
Thank You.
(Visual Studio C++)
I would write a program that converts the binary format and outputs to CSV format. This program would read from stdin and write to stdout.
Then I would call
That way you can start converting immediately (without downloading the entire files) and your program doesn’t deal with networking. You can also run the program on the remote side, assuming it’s portable enough.