Log in

View Full Version : Could we use FTP?


masoug
15-04-2010, 23:38
Hi,Just wondering, is it possible to use a ftp client to upload our robot code to the cRIO?Our cRIO has an ftp server, so could we just connect to it?-Masoug

Radical Pi
16-04-2010, 00:07
The code is actually uploaded via FTP by WindRiver. It's just automated for you.

masoug
16-04-2010, 12:56
So then how could we use something like "FileZilla" to upload/download code manually? Do we just input the IP address of the cRIO into the ftp client?Thanks!-Masoug

virtuald
16-04-2010, 13:31
Yes, just FTP to 10.xx.xx.2, and use the username FRC/FRC. Your

I wrote an AutoIt script that will upload an object to the bot automatically for you, its a part of WebDMA. Note that it isn't designed to upload FRC_UserProgram.out, but it uploads a different object and modifies the configuration of the robot to ensure that the object gets loaded at runtime.

Modifying it to do what you want is left as an exercise for the reader.

http://code.google.com/p/webdma/source/browse/trunk/FRCDeploy/FRCDeploy.au3

masoug
16-04-2010, 21:29
Thanks! I'll be sure to try that!

-Masoug