|
In need of help with FTP.
Hi,
I'm not very good at networking (but i'm good at syntax in coding so i guess that's why im a programmer), but I know you could transfer files between the cRio and the computer via FTP last year. I know what FTP stands for but I honestly don't know how to use it to our potential. Let alone code it (Java).
I'd like to load joystick configuration files into the code via a .txt file. (so if we want to change controls quickly we can do it without rebuilding, we just change a .txt file). I tried a local .txt file on the computer and after several minutes of pondering why the robot couldn't find the file, I realized I was a bit tired.
Anyways, I was hoping if anyone could help me out. I'd like to easily change a .txt file hosted on the RIO and have the robot scan numbers into the code. I have the scanner class and such coded it's just a matter of getting the correct directory in the code.
So my question - how do I access the RIO via FTP, and where do I find the directory of a file located on the rio?
__________________
2791 (2012-2017)
|