Go to Post -Best FIRST Robot: One that Makes it to Competition - Conor Ryan [more]
Home
Go Back   Chief Delphi > Technical > Programming
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-01-2015, 12:32
jtrv's Avatar
jtrv jtrv is offline
github.com/jhtervay
AKA: Justin
FRC #2791 (Shaker Robotics)
Team Role: College Student
 
Join Date: Jan 2013
Rookie Year: 2012
Location: Latham, NY
Posts: 144
jtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to alljtrv is a name known to all
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)
 


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:19.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi