cRIO output files

Hello,
I was wondering if anyone had tried writing to a file on the cRIO using c++ code.
I have FTPed to the cRIO and am looking for my output file, but I don’t know where in the filesystem to look.

In my main robot code I have something like…

%%%%%%%%%%%%%%%%

fstream _m_file;
_m_file.open(“test.txt”, ios::out );
_m_file << “1 2 3 4” << endl;
_m_file.close();

%%%%%%%%%%%%%%%%%

Any guesses about where “test.txt” would be put?

Thanks in advance,
Alan
GFORCE, Team #1779

I would assume it would put it in the root of the cRIO’s memory. I’m working on a piece of code that takes and saves pictures to the cRIO’s memory and from what I’ve read and have been told it will save it to the root unless otherwise specified.

yeah just ftp to the robot. The root is the working directory so wherever you tell it to save it you will find it there.